Can't upgrade Visual Studio solution to 2013

I don't know what is wrong with the project, I have Visual Studio 2013 on a new computer and I never had 2012, it's a clean computer.

I made a project with SDS 3DS Max 2015, which makes a clean project, but it turns out that it was made for 2012 for some reason (despite the fact that I have done this since 2013).

So, I changed the toolbox in the project settings, and even tried to "update the solution", but it still remained in 2012 in the visual studio window.

And obviously it pops up every time I try to compile.

Error 1 error MSB8020: Build tools for Visual Studio 2012 (Platform Toolset = 'v110') could not be found. To build with v110 Build Tools, install Visual Studio 2012 Build Tools. Alternatively, you can navigate to your current Visual Studio tools by choosing the Project menu or right-clicking on the solution and then choosing Update Solution ... ...

The fact is that if you open, for example, a project with Notepad, you check the project tools and its 2013.

<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Hybrid|x64'">
    <PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    <PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <PlatformToolset>v120</PlatformToolset>

      

It doesn't make any sense and it still doesn't allow me to compile, any suggestions on why this is happening? I don't understand why this is happening at all and hopefully I don't have to install the 2012 version.

+3


source to share


2 answers


The SDK propertySheets overrides this setting, so no matter what you do in your project, the template will still override it.

To change this, edit the version number in the file:

\maxsdk\ProjectSettings\propertySheets\3dsmax.general.project.settings.props

      

Edit this line:



<PlatformToolset>v110</PlatformToolset>

      

To your platform number, then it works.

I did the same in one of my projects where I needed visual studio 2013 and ran into the same problem as you.

+1


source


Another option is to go to Project-> retarget soultion ...



-1


source







All Articles