.NET 4 has a new FrameworkName class. An example of this being used is NuPack and its package directory naming convention.
What are the FrameworkNames for Microsoft's .NET Frameworks?
.NET 4 has a new FrameworkName class. An example of this being used is NuPack and its package directory naming convention.
What are the FrameworkNames for Microsoft's .NET Frameworks?
You can see for yourself when you change the MSBuild output to Diagnostic. Tools + Options, Projects and Solutions, Build and Run. The string you'd pass to the FrameworkName constructor appears as the TargetFrameworkMoniker
build property.
The ones I can easily see myself are the regular desktop version:
.NETFramework,Version=v4.0,Profile=Client
And the Silverlight version:
Silverlight,Version=v4.0
Contributed by the OP, the Windows Phone 7 version:
Silverlight,Version=v4.0,Profile=WindowsPhone
I can't get any Micro Framework projects built, instant crash to the desktop. Compact Framework support was removed from VS2010. That's about it for versions that I know of.