In order to build a c++/cli project on dot net core I must have a vcxproj that includes
<FrameworkReference Include=“Microsoft.WindowsDesktop.App” />
My build system is using CMake and I can’t find a way to configure it to include these lines in the generated project.
Thanks for helping
Can this appear in a custom
I managed to make this work using a custom props file and the target property VS_PROJECT_IMPORT.
The props file is just:
<Project ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">