3

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

I made a project with the 3DS Max 2015 SDK That makes a clean project, but turns out it's made for 2012 for some reason (despite i made it with 2013).

So i changed the toolset in the project settings and i even tried to "upgrade solution", but it's still stuck on 2012 on the visual studio window.

And well obviously this pops up every time i try to compile.

Error 1 error MSB8020: The build tools for Visual Studio 2012 (Platform Toolset = 'v110') cannot be found. To build using the v110 build tools, please install Visual Studio 2012 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...".

The thing is that if you open for example the project with Notepad, you check the tools of the project and it's 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's still there not letting me to compile, any suggestions of why is this going on? i don't understand at all why is this happening and hopefully i won't have to install 2012 version.

ildjarn
  • 62,044
  • 9
  • 127
  • 211
Seyren Windsor
  • 115
  • 1
  • 2
  • 12

2 Answers2

1

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 own projects where I needed visual studio 2013, and ran into the same issue as you describe.

IAmNoone
  • 1,011
  • 1
  • 8
  • 25
  • You are welcome, I spent a ton of time figuring that out, was very frustrating, I cannot understand why they override it like this, it should be up to the user and their toolchain to choose it, not the SDK it self. Glad I could help. – IAmNoone Jan 13 '15 at 20:17
0

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

Guy L
  • 2,824
  • 2
  • 27
  • 37
  • 1
    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – Ephemera Feb 22 '15 at 04:16
  • @Someuser - It worked perfectly for me. why isn't that an answer? – Guy L Feb 22 '15 at 22:25
  • My apologies, the Review function automatically generated that comment for me. I had intended to indicate that the style of the answer is more suited to a comment than an answer. – Ephemera Feb 23 '15 at 04:14
  • I disagree here. it answers the question for newer versions of VS2013 – Guy L Feb 23 '15 at 20:49