PS C:\src\vcpkg> .\bootstrap-vcpkg.bat
The property 'instance' cannot be found on this object. Verify that the property exists.
At C:\src\vcpkg\scripts\bootstrap.ps1:78 char:31
Could not find Visual Studio. VS2015, VS2017, or VS2019 (with C++) needs to be installed.
At C:\src\vcpkg\scripts\bootstrap.ps1:143 char:9
I tried executing the batch file in powershell (Admin), but the batch file triggers an error like this every time I tried
@saketh023
If I mistakenly thought you are using windows and you actually are using a *NIX OS, aka linux in a Virtual Machine or via WSL/WSL2 reference: https://github.com/microsoft/vcpkg#quick-start-unix
Hi @saketh023
Thanks for posting this issue.
Have you installed Visual Studio on your machine? please make sure the version is 2015 update 3 or greater.
@StarGate-One
Thanks for your help.
I reinstalled visual studio 2019 community edition. I also have Visual Studio Code installed long back.
This time the batch file worked...!
Thanks for your time and help @StarGate-One and @NancyLi1013 !
馃槉馃槉馃槉
Most helpful comment
@saketh023
If I mistakenly thought you are using windows and you actually are using a *NIX OS, aka linux in a Virtual Machine or via WSL/WSL2 reference: https://github.com/microsoft/vcpkg#quick-start-unix