Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is "Platform Toolset" setting in visual studio project

Tags:

I have three doubts. Anyone there for help?

  1. What is the "Platform Toolset" project setting in VS project
  2. Why such setting required
  3. What happen, if I change the setting (v110 to v100)
like image 737
Nayana Adassuriya Avatar asked Dec 17 '14 03:12

Nayana Adassuriya


People also ask

What is a platform toolset?

The platform toolset consists of the C++ compiler (cl.exe) and linker (link.exe), along with the C/C++ standard libraries. Visual Studio 2015, Visual Studio 2017, and Visual Studio 2019 are binary-compatible. It's shown by the major version of the toolset, which has remained at 14.

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 Msvc toolset?

Build's msvc toolset supports the Microsoft Visual C++ command-line tools on Microsoft Windows. It supports any version of Visual C++, but in case you have more than one version of Visual C++ installed, and you want to use both, the additional vc7 toolset can be used for Visual C++ 7.0.


1 Answers

It is an MSBuild property that controls the specific version of the platform toolset that you want to use.

More info here: http://msdn.microsoft.com/en-us/library/windows/hardware/hh454232%28v=vs.85%29.aspx

Most likely you want to use the last stable Windows SDK. You can check the toolset that you are using looking at your Visual Studio project file (.vcxproj), looking for this XML entry:

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"       Label="Configuration">   <ConfigurationType>Driver</ConfigurationType>   <DriverType>KMDF</DriverType>   <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> </PropertyGroup> 
like image 142
gmas80 Avatar answered Sep 18 '22 21:09

gmas80