How To Install Platform Toolset V110

  1. Install Platform Toolset 140
  2. Platform Toolset 140 Download
  3. Install Platform Toolset 140

I am developing a command line application that creates a full Visual Studio 11 solution made of a single VC++ project and that tries to compile it in the end using MSBuild.

The problem I am facing is strange.

If I execute my command line program inside Visual Studio 11 it works; if I instead launch it outside the development environment it throws me the error:

Then install Visual Studio 2012 Update 4 to get the v110_xp platform toolset. The Windows XP platform toolset that's included in Visual Studio is a version of.

The command I am using is the following: Repairing power supplies.

But I have the feeling that PlatformToolset=v110 is ignored and MSBuild use v100 (Visual Studio 2010).

Do you have any suggestions how to tell MSBuild to compile for v110 Platform Toolset?

DrakeDrake

6 Answers

I ran into the same problem as well with the full release of VS 2012. You can also set the VisualStudioVersion as a property with MSBuild as opposed to dealing with environment variables as mentioned in the accepted answer. For instance:

C:WindowsMicrosoft.NETFrameworkv4.0.30319MSBuild.exe .myproject.vcxproj /p:VisualStudioVersion=11.0

The environment variables approach I'm sure work just as well, I honestly didn't try that as I was trying to stay away from having to modify the environment variables.

SpencerSpencer

Make sure that the top of your .SLN file looks like this:

When you double-click on the solution file, it's the # Visual Studio 2012 that controls which version of Visual Studio is loaded (and controls the icon displayed in Windows Explorer).

However, when you run MSBuild, it looks at the Format Version 12.00 part.

Confused?

This is confusing, since Visual Studio 2010 is version 10.0 and Visual Studio 2012 is version 11.0 (not 12.0), and using the version 12.0 solution file format causes MSBuild to (implicitly) set VisualStudioVersion to 11.0.

Roger LipscombeRoger Lipscombe

I found a workaround for this issue; could be a problem of Visual Studio 11 Beta that will be resolved before official release.

Anyway, if you are interestedm just set the environment variable 'VisualStudioVersion' equal to '11.0' before calling MSBuild.exe.

In batch files

or in VB.NET

DrakeDrake

Starting with Visual Studio 2013, MSBuild is now part of Visual Studio, and the correct path should be $(MSBuildToolsPath) (“C:Program Files (x86)MSBuild12.0Bin”). If you use msbuild.exe from the .Net framework folder (“C:WindowsMicrosoft.NETFramework64v4.0.30319”) it will not able to distinguish the vs2012 and vs2013 versions.

ThieuNDThieuND

Install Platform Toolset 140

Use the menu based options to do this. From VC++2010 Express:- Right click on the main file of the project (not the solution itself at the very top of the tree).- Click General.- Find Platform Toolset on the right side of the dialog, top half.- Change from v110 to v100.- Click OK.

----- Done ------

DaveTDaveT

Microsoft provides a batch file to set all the EnvVarsYou find it in the Start Menu under 'Microsoft Visual Studio 2012/Visual Studio Tools' or in the Visual Studio folder ('C:Program Files (x86)Microsoft Visual Studio 11.0Common7ToolsVsDevCmd.bat')

Thomas TrotzkiThomas Trotzki

Not the answer you're looking for? Browse other questions tagged visual-c++msbuildvisual-studio-2012 or ask your own question.

Posted by1 year ago
Archived

Downloading Visual Studio 2012

Hello,

Platform Toolset 140 Download

How To Install Platform Toolset V110

I'm trying to download Visual Studio 2012, but it doesn't seem to be available on the Microsoft website?

I kinda need this version because I'm trying to write a plug-in for Autodesk Maya (3D-animation software). I've tried 2017 but this doesn't seem to work, and the documentation tells me I need 2012. (http://help.autodesk.com/view/MAYAUL/2016/ENU/?guid=__files_Setting_up_your_build_env_Windows_env_32bit_and_64bit_htm)

Install Platform Toolset 140

(error in 2017: 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 'Retarget solution'. )

Is there still anyway to get Visual Studio 2012? If i remember this used to be free to download, right? Or perhaps i can install Platform Toolset = 'v110'?

Thanks for the help

67% Upvoted
Posted on