By default, when your project uses the Intel® oneAPI DPC++/C++ Compiler, the Base Platform Toolset property is set to use that compiler with the build environment. This environment includes paths, libraries, included files, etc., of the toolset specific to the version of Microsoft Visual Studio* you are using.
You can set the general project level property Base Platform Toolset to use one of the non-Intel installed platform toolsets as the base.
For example, if you are using Microsoft Visual Studio 2019, and you selected the Intel® oneAPI DPC++/C++ Compiler in the Platform Toolset property, then the Base Platform Toolset uses the Microsoft Visual Studio 2019 environment (v142). If you want to use other environments from Microsoft Visual Studio along with the Intel® oneAPI DPC++/C++ Compiler, set the Base Platform Toolset property to:
This property displays all installed toolsets, not including Intel toolsets.
There are two ways to set the Base Platform Toolset:
Use the property pages:
Use the msbuild.exe command line tool with the /p:PlatformToolset and /p:BasePlatformToolset options.
Msbuild.exe myproject.vcxproj /p:BasePlatformToolset=v142
Msbuild.exe myproject.vcxproj /p:PlatformToolset="Intel C++ Compiler 2021" /p:BasePlatformToolset=v142For possible values for the /p:BasePlatformToolset property, see the properties described above.