Visual Studio 2010 Manages C ++. NET 2.0 Objectives PROBLEM

For those on this road, share your breadcrumbs.

I have an old VS2005 solution. Most of the parts are C #, but I have one managed C ++ project. Dev machine: Windows XP. Target Framework Version Version: 2.0

I moved the project to Windows 7 64 BIT, VS 2010, performed a project conversion. The first thing I noticed was build errors. Projects that depend on what is in C ++ complained that the project has a link of 4.0, and I want to use it in a project that (correctly) targets 2.0.

OK, so I used some tips and set the goal of my project on .NET 2.0. NOW: VS2010 complains that it cannot load the project because I need to install framework 2.0. OK, so I'm trying to install it, and nothing - because the installer detects .NET 2.0 as part of the operating system.

WTF?

Admits, please create a WTF tag for me here :)

+3
source share
1 answer

The problem is not in .NET. Currently, the C ++ build system does not directly support the creation of pre-.NET 4.0 targets. It requires the installation of VS2008 so that it can use its tool chain. It looks like you don't have one.

. , . , SP1, .

+6

Source: https://habr.com/ru/post/1765088/


All Articles