In order to re-target multiple projects at once, you can multi-select them in Solution Explorer and then bring up the Property Pages. There are a couple of ways you can re-target to different PlatformToolset (v90 is used as an example below):įor single project, you can choose your targeted platform toolset to be v90 in the property page, the “PlatformToolset” property will be written to your project file as the following: In both cases, the “PlatformToolset” property is not written to the project file. The Platform toolset version is v100 by default for both newly created projects and projects converted to VS2010.
Below is a screen shot of the native Multi-targeting settings on the property page: Platform Toolset controls which version of the toolsets you want to target: v100 targets VS2010 and v90 targets the VS2008 level toolsets and libraries. The Multi-Targeting feature is available both when building from the IDE and building on the command line. This eliminates the need to maintain multiple versions of project files and the development work can be done all within VS2010, as long as the targeted toolsets are installed on the same machine. With the native Multi-targeting feature, once the “large C++ shops” migrated their applications to VS2010, they have the ability to use VS2010 to target any versions of the toolset theoretically. Given that, the “large C++ shops” have to keep multiple versions of Visual Studio and multiple versions of the project files, so that they can build binaries targeting different versions of the toolset.
These customers, however, maybe using different versions of Visual Studio for development. Note that your application created with earlier versions of Visual Studio will need to be converted to the VS2010 version.Īn important scenario for C++ customers (let’s call them “large C++ shops” here) is that they develop and build their applications in Visual Studio and then ship the applications to their respective customers. This feature enables the C++ customers to use VS2008 toolsets while working in the VS2010 environment. Soma has mentioned this feature in his blog some time ago. VS2010 can support building against VS2008 toolsets if VS2008 is installed on the same machine. For more details on Managed Multi-targeting, please visit this blog post by one of my colleagues, Pavan Adharapurapu. In VS2010, C++ applications support two types of Multi-targeting: Native Multi-targeting and Managed Multi-targeting. Multi-targeting is the ability to use the current version of Visual Studio to build your application with a different set of installed tools or Frameworks. In this blog, I am going to give an overview of the Native Multi-targeting feature. You can see one of my earlier blogs about the task work that we have done. For the past two years, I have been part of the team working on migrating the C++ build system from VCBuild to MSBuild as well as the new project system which is also built on top of MSBuild.
I am a Software Design Engineer in Test on the C++ team. Install v120 to build using the v120 build tools.Instructions for native multitargeting in VS2017 can be found here: To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects.". Install v120 to build using the v120 build tools.ĥ>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\(44,5): error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. Install v120 to build using the v120 build tools.Ģ>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\(44,5):Įrror MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found.
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\(44,5): error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found.
Using visual studio 2012 on windows 8 圆4 aparantly this is caused by msbuild being moved into.