Target .NET 3.5 C++/CLI in Visual Studio 2010 Beta 2
- by jeffora
Has anyone had any success converting a VS 2008 C++/CLI (vcproj) project to a VS 2010 project (vcxproj), whilst maintaining .NET 3.5 as the target framework? I haven't been able to do this and get the project to build successfully. The project compiles fine in VS2008 as .NET 3.5, and fine in VS2010 as .NET 4.0, but I am unable to target .NET 3.5 in 2010. The IDE doesn't seem to provide an option for it, and modifying the vcxproj file by adding
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
causes compilation to fail with the folling error:
Error 1 error C1001: An internal error has occurred in the compiler.
According to this link, there is apparently some differences in compilers used between VS2008 and 2010, but manually editing the project file was still suggested as a solution. Does anyone have any idea on this?