You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@spbrogan declares this "user error", but I maintain that we should catch this exception and provide more actionable error message.
It appears that this is because PyLibrary only looks at the newest installation, and if that newest installation does not have the C++ build tools, it results in this failure.
out0xb2
changed the title
QueryVcVariables() cannot find vcvarsall.bat when BuildTools installed after Studio
Improve error reporting when build tools do not include C++
Nov 25, 2019
For scenarios where both BuildTools and Visual Studio have been installed, library cannot always find vcvarsall.bat
venv_pytools_dev\lib\site-packages\edk2toollib\bin\vswhere.exe -latest -nologo -all -property installationPath -products *
returns
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
But vcvarsall.bat is not under the BuildTools path, it is found:
How did I get here?
The actual, ugly error message is:
The text was updated successfully, but these errors were encountered: