I have the same issue and I’m using the default Visual Studio. Even after uninstalling the (latest), and installing the correct 14.38 versions, nothing was installed/uninstalled form the Tools folder in the VS install directory, by the VS installer, as far as I can tell. I had to hard delete the 14.41 (latest) MSVC install going into the File Explorer… and now MVSC complains that
Visual Studio 2022 is installed, but is missing the C++ toolchain. Please verify that the "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)" component is selected in the Visual Studio 2022 installation options.
Well… No wonder, since there was no 14.38 folder installed by the VS installer as far as I can tell. What is going on for lordy’s sake. I really don’t understand why its refusing to use 14.38 at all and asking for latest at all cost… I have compiled from source for 3 years without issue and now I’m stuck with this problem. Weird. Out of the blue and everything…
Edit: Repairing Visual Studio seems to be in the process of finally doing what I asked and installing 14.38 in the Tools folder. I’m sure there’s a bug with their installer. No reason why now suddenly the folder shows up.