.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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
TargetFrameworkMonikerbuild property.The ones I can easily see myself are the regular desktop version:
And the Silverlight version:
Contributed by the OP, the Windows Phone 7 version:
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.