C++/CLI , .NET 5.0, TargetFrameworkVersion

Pierre Chatelier 81 Reputation points
2020-11-12T06:55:44.213+00:00

Now that .NET 5.0 is released along with VS 2019 16.8, I would like to compile some C++/CLI code with this new version.

But I cannot guess the <TargetFrameworkVersion> value to set in the vcxproj to enable .NET 5.0.

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 91,506 Reputation points
    2020-11-12T07:43:59.883+00:00

    I installed the SDK 5 and I get :

    <TargetFramework>net5.0</TargetFramework>

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.