'vcpkg install package Error, Run vcvarsall.bat to get Visual Studio env failed with exit code 1
when I install any package,vcpkg throw these error said can not get visual studio env . I am sure I had install visual studio 2017,but may it not work
Solution 1:[1]
I resolved this problem when I deleted:
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
(CURRENT USER
, NOT LOCAL_MACHINE
)
I refer to this issue: https://github.com/microsoft/vcpkg/issues/13890
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Jeremy Caney |