Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My managed C++ code was compiled using the VS2010 IDE. I have manually modified the .vcxproj file to add <TargetFrameworkVersionv>3.5</TargetFrameworkVersion> inside the section <PropertyGroup Label="Globals"> to target the .Net 3.5 framework but when I check the compiled DLL, the CLR version (runtime version) that it is targetting is still v4.0.30319. How should I tell VS2010 to compile my managed C++ and have the "output DLL" to target v2.0.50727?
Posted

1 solution

Go to Project --> Properties in Solution Explorer, and set the level there.
 
Share this answer
 
Comments
Jhun_A 21-Oct-13 5:23am    
What specific level/property are you refering to? thanks
Richard MacCutchan 21-Oct-13 5:32am    
I don't know as I don't have any C++/CLR projects, only C# Express. However if you go and look through the various tables it should be easy enough to find.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900