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 my 12.0 version of Visual Studio?
You can try changing the Platform Toolset by right clicking on your project icon in Solution Explorer and looking for the PlatformToolset property.
In the worst case you will have to install Visual Studio 2015 .
I leave you a link with more detailed instructions on how to make the change. https://msdn.microsoft.com/es-mx/library/ff770576.aspx
If you want to change the toolset of your project you have to modify the file
.vcxproj
Change
<Project DefaultTargets="Build" ToolsVersion="14.0"
to<Project DefaultTargets="Build" ToolsVersion="12.0"
.And in all the appearances of
<PlatformToolset>v140</PlatformToolset>
by<PlatformToolset>v120</PlatformToolset>
.