Creating and fine-tuning .Net 6 projects #1926
Unanswered
Rashmatash
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm trying to generate a simple C# .Net 6 project. There're a couple of issues. First question is whether Premake5 is capable of generating correct .Net projects. If so, what can I do to generate the following?
I'm using this lua script to generate the project:
using
premake5 --dotnet=msnet vs2022
. I also tried other dotnet flavors but they all give the same result:please note that this line is missing:
<Configurations>DebugEditor;ReleaseEditor</Configurations>
and therefore the configurations are undefined in the generated project. Also, is there a way to add other properties, like<UseWPF>true</UseWPF>
and<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
. Any help with this is greatly appreciated.Beta Was this translation helpful? Give feedback.
All reactions