Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using v120 Platform Toolset in Visual Studio 2015

I am using Visual Studio 2015 (Update 3) in Windows 10. I have one Solution consisting of several projects. One of these projects has to be built with platform toolset Visual Studio 2013(v120). Unfortunately, It's not installed on my machine. I know how to change platform toolset for projects or retarget Solution but I don't want to do this. I want to install Visual Studio 2013 platform toolset (v120) for Visual Studion 2015. The only way that I found so far is to install the whole Visual Studio 2013 besides 2015 version which is not a good solution.

I have tried different solution for this problem such as installing v120 build tools separately and Look at this link. But it did not work for me. Any solution except installing Visual Studio 2013 would be welcome.

like image 219
Reza Avatar asked Mar 08 '17 10:03

Reza


People also ask

How do I change the platform toolset in Visual Studio?

To change the platform toolset In Visual Studio, on the menu bar, select Project > Properties to open your project Property Pages dialog box. In the top of the Property Pages dialog box, open the Configuration drop-down list and then select All Configurations. In the dialog box, select the Configuration Properties > General property page.

How do I install the VS2013 toolset on vs2015?

You can install the VS2013 toolset from your VS2015 installer without installing Visual Studio 2013. From the 2015 installer, select " Windows 8.1 and Windows Phone 8.0/8.1 Tools " and " Common Tools for Visual C++ 2015 ": After the installation has completed, you will find the platform Toolset below:

Which platform toolset do I need to target the NET Framework?

For example, to target the .NET Framework 4.5, you must use a compatible platform toolset such as Visual Studio 2015 (v140), Visual Studio 2013 (v120) or Visual Studio 2012 (v110). You can use the Windows 7.1 SDK platform toolset to target the .NET Framework 2.0, 3.0, 3.5, and 4, and the x86/x64 platforms.

How do I select a toolset in Visual Studio 2010?

In the right pane, select Platform Toolset and then select the toolset you want from the drop-down list. For example, if you have installed the Visual Studio 2010 toolset, select Visual Studio 2010 (v100) to use it for your project.


1 Answers

You can install the VS2013 toolset from your VS2015 installer without installing Visual Studio 2013.

From the 2015 installer, select "Windows 8.1 and Windows Phone 8.0/8.1 Tools" and "Common Tools for Visual C++ 2015":

Visual Studio 2015 installer

After the installation has completed, you will find the platform Toolset below:

Installed toolsets in VS2015

You should now be able to build your project with the platform toolset for Visual Studio 2013 (v120).

like image 172
Leo Liu-MSFT Avatar answered Sep 20 '22 08:09

Leo Liu-MSFT