Treating the project as if it had ToolsVersion'4.0'. This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. I went ahead to Visual Studio Installer and installed the C++ Windows XP Support for VS 2017 (v141) tools, as said in the tutorial.īut what now? How can I use this Toolset? I can’t find it anywhere on my computer, let alone use it! Visual Studio Installer says it’s located under C:Program Files (x86)Microsoft Visual Studio19BuildTools, but it’s too vague. 1>Project file contains ToolsVersion'14.0'. I have learnt from this Microsoft page that we should install deprecated Toolset to compile for WinXP. D '_USING_V110_SDK71_' seems to do nothing, and the /SUBSYSTEM:WINDOWS,5.01 piece isn’t recognized by the compiler. There I’ll have 2 folders sources and headers, which shall contain.
Tried compiling it the usual way, using x86 Native Tools Command Prompt for VS 2019, but it doesn’t work on Windows XP, though runs fine on my Windows 10 machine. I would like to target the executable for 32 bit Windows XP. I would like to compile a C++ program via Visual Studio command line tools. 24th August 2021 c++, cmd, compilation, visual-studio, windows