I had successful debug build for branch 4147 and at the time I had MSVC version 14.27.29110 installed.
Then I wanted to do a release build after couple of months, and it looks a visual studio update remove version 14.27.29110, and installed 14.28.29333. Which started all kind of weird errors for me starting with
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt\corecrt.h(10,10): fatal error: 'vcruntime.h' file not found
Which as a start I didn't know it is related to MSVC version, so I did stupid solution by copying files over to Windows Kits folder, and then I started getting the error
command line error MIDL1005 : cannot find C preprocessor cl.exe
Again I did some stupid solution by coping the cl.exe to the python folder (yes i know very stupid). so then I started getting errors like (lld-link: error: could not open 'delayimp.lib': no such file or directory) ... and in the error message I noticed this part (-libpath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\ATLMFC\lib\x86) .... So now I removed the files that I copied manually before and made sure to download MSVC version 14.27 again using Visual Studio Installer. So far build is going fine
My question is, how is the version of MSVC is specified?
Is it only related to Windows Kits version?
Maybe the Master build documentation should be updated to mention this?