Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What I need to install to compile for Platform Toolset v100 using Visual Studio 2013?

I've just formatted the PC and have Visual Studio 2013 installed. Now, I would like to compile a Visual Studio 2010 C++ solution without convert it and continue targeting v100 platform toolset.

I get the this error:

error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 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...".  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets   64  5   TPC30004 

and project properties I see that of course I miss the needed toolset.

Project properties with Platform Toolset set to Visual Studio 2010 (v100) (not installed)

I can't change the target because cannot force XP users to install the new C++ 2013 re-distributable so probably I should install Visual Studio 2010 to fix the problem, but if possible I would like to avoid it (small SSD at the moment and not much free space).

Are there other options available?

like image 513
Drake Avatar asked Feb 05 '14 11:02

Drake


People also ask

How do I change the platform toolset in Visual Studio?

To change the platform toolsetIn the properties page, select Platform Toolset and then select the toolset you want from the drop-down list. For example, if you've installed the Visual Studio 2010 toolset, select Visual Studio 2010 (v100) to use it for your project. Choose the OK button to save your changes.

How do I find my platform toolset?

Select and hold (or right-click) the driver project in Solution Explorer and select Properties. In the property pages for the driver project, select Configuration Properties and then select General. Select the Platform Toolset property for the project from the drop-down list.

What is toolset in Visual Studio?

Toolset properties specify the paths of the tools. Starting in Visual Studio 2017, MSBuild no longer has a fixed location. By default, it is located in the MSBuild\15.0\Bin folder relative to the Visual Studio installation location.

How do I retarget a solution in Visual Studio?

Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". To resolve these errors, right-click on the solution node in Solution Explorer and click Retarget solution.


2 Answers

You will need to install the Visual Studio 2010 for that. There is no alternative.

You still can install to a different drive, to keep memory footprint on C: as low as possible.

like image 179
galop1n Avatar answered Sep 22 '22 13:09

galop1n


There's also the option of installing the Windows SDK 7.1, which comes with the same VS2010 Platform Tools in it and is available for free. Unlike the VS2010 Express edition, it also includes the AMD64 (but not the Itanium) version of the tools.

like image 40
Don Joe Avatar answered Sep 23 '22 13:09

Don Joe