What seems to be the problem?
When adding a nuget package to the config, the .vcxproj doesn't contain all properties it should have.
What did you expect to happen?
I expect the generated project file to contain the same properties compared to when adding nuget packages through Visual Studio.
What have you tried so far?
Manually adding the missing properties leads to getting the expected result in Visual Studio.
What seems to be the problem? When adding a nuget package to the config, the .vcxproj doesn't contain all properties it should have.
What did you expect to happen? I expect the generated project file to contain the same properties compared to when adding nuget packages through Visual Studio.
What have you tried so far? Manually adding the missing properties leads to getting the expected result in Visual Studio.
How can we reproduce this?
Project generation:
nuget { "Microsoft.Direct3D.D3D12:1.614.1" }
to the configpremake5.exe vs2022
Microsoft.Direct3D.D3D12.props
not being imported in the .vcxprojIn particular, this property is missing:
For comparison (not premake):
Start with the simple "Hello World" config described here: https://premake.github.io/docs/Your-First-Script
Open project and add the
Microsoft.Direct3D.D3D12
package from nuget through Visual StudioNotice
Microsoft.Direct3D.D3D12.props
imported in the .vcxproj[x] Visual Studio 2022 (vs2022)
What version of Premake are you using? 5.0.0-beta2