Using the V90 Toolkit (VS2008) in Visual Studio 2015

Is it possible (and how) to use the VS2015 IDE to create your own C ++ projects using the compiler, linker, STL, and everything else that comes with VS2008?

What I'm trying to do is called "C ++ Native Multi-Targeting" and it is known that, for example, VS2012 allows you to use the VS2008 (v90) toolkit for C ++ projects through Project Properties → Configuration Properties → General-> Platform Toolset = v90. As a rule, ready-made versions of v90 will not be available, but will appear if you do the side-by-side installation of VS2008 + VS2010 + VS2012 or VS2008 + win7.1sdk + VS2012.

But I could not find so far any reported attempts to bridge the wider gap between vs2008 and vs2015 for C ++ projects. According to MSDN, it seems that this is not officially supported. But I would like to know if this can work.

for reference, the value of the platform toolkit:

Visual Studio .NET 2002 (Platform Toolset = 'v70')
Visual Studio .NET 2003 (Platform Toolset = 'v71')
Visual Studio 2005      (Platform Toolset = 'v80')
Visual Studio 2008      (Platform Toolset = 'v90')
Visual Studio 2010      (Platform Toolset = 'v100')
Visual Studio 2012      (Platform Toolset = 'v110')
Visual Studio 2013      (Platform Toolset = 'v112')
Visual Studio 2015      (Platform Toolset = 'v114')
+4
source share
1 answer

It should be possible. I tried this, but MSBuild was unable to get the following message:

1> C: \ Program Files \ MSBuild \ Microsoft.Cpp \ v4.0 \ Platforms \ Win32 \ Microsoft.Cpp.Win32.Targets (57.5): Error: The required file "" is missing.

The only solution I have found so far is to add the following line to the vcxproj file:

<PropertyGroup Label="Globals">
  ...
  <TrackFileAccess>false</TrackFileAccess>
</PropertyGroup>

:

+2

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


All Articles