Closed as not planned
Description
I just installed VS2022 Community edition and updated my repository (the last commits were removing unused idlelib imports).
Main and 3.11 built with no errors. However, for 3.10...
f:\dev\310>"F:\VS2022\Community\MSBuild\Current\Bin\msbuild.exe" "f:\dev\310\PCbuild\pcbuild.proj" /t:Build /m /nologo /v:m /clp:summary /p:Configuration=Debug /p:Platform=x64 /p:IncludeExternals=true /p:IncludeCTypes=true /p:IncludeSSL=true /p:IncludeTkinter=true /p:UseTestMarker= /p:GIT="C:\Users\Terry\AppData\Local\Programs\Git\cmd\git.exe"
Killing any running python_d.exe instances...
Generated sources are up to date
Getting build info from C:\Users\Terry\AppData\Local\Programs\Git\cmd\git.exe
Building heads/3.10:ee2ddc2d44 3.10
F:\VS2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(440,5)
: error MSB8020: The build tools for Visual Studio 2019 (Platform Toolset = 'v1
42') cannot be found. To build using the v142 build tools, please install Visua
l Studio 2019 build tools. Alternatively, you may upgrade to the current Visua
l Studio tools by selecting the Project menu or right-click the solution, and t
hen selecting "Retarget solution". [f:\dev\310\PCbuild\pythoncore.vcxproj]
Build FAILED.
My guess is that some update for main and 3.11 needs to be backported to 3.10. (Right-clicking in Windows Explorer does not show a Retarget option, so I presume that suggestion only applies within VS, which I don't use.)