Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
863 views
in Technique[技术] by (71.8m points)

msbuild - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...