Change the toolset of my project in Visual Studio

1

How can I change the toolset of my project so that it can be compiled using version 12.0. In my case, my project uses version 14.0. When I try to compile it, it returns the following error:

Is there any way or way to make it compatible with version 12.0 mine of Visual Studio ?

    
asked by Sergio Ramos 17.02.2017 в 19:07
source

2 answers

0

If you want to change the toolset of your project you have to modify the file .vcxproj

Change <Project DefaultTargets="Build" ToolsVersion="14.0" by <Project DefaultTargets="Build" ToolsVersion="12.0" .

And in all occurrences of <PlatformToolset>v140</PlatformToolset> by <PlatformToolset>v120</PlatformToolset> .

    
answered by 18.02.2017 / 05:18
source
0

You can try to change the Platform Toolset by right clicking on the icon of your project in the Solution Explorer (Explorer Explorer) and look for the PlatformToolset property.

In the worst case you will have to install Visual Studio 2015 .

I leave a link with more detailed instructions on how to make the change. link

    
answered by 17.02.2017 в 22:41