Today I opened an C++ Project, but I just receive the "Project Target Framework Not Installed" (Targeted framework: .NETFramework,Version=v4.0)
At first my Project does not use any .NET Framework / CLR. (Win32 Console Application) At se开发者_StackOverflow中文版cond I have 4.0 installed. At third in the Project XML File I does not found an TargetFramework Setting.
I reinstalled VS2010, I tried to (re)install .NET 4.0, Nothing -.-
Why VS2010 ask for .NET 4.0 in a Win32 Project ?
So I tried to open a older Project, but just the same.
I got my own Solution for my problem here is it, if someone have the same.
I just added:
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
at
<PropertyGroup Label="Globals">
I don´t know why it don´t find 4.0 but 3.5. But no matter. Win32 without CLR dont need any .NET.
精彩评论