vcpkg icon indicating copy to clipboard operation
vcpkg copied to clipboard

Visual Studio provided vcpkg tries to update system folders

Open pjmlp opened this issue 1 year ago • 0 comments

While trying to use the built-in vcpkg alongside cmake, it tries to update the vcpkg_dep_info.cmake inside Visual Studio own installation.

Fetching registry information from https://github.com/microsoft/vcpkg (HEAD)...
write_contents_and_dirs("C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\vcpkg\vcpkg\blds\0.vcpkg_dep_info.cmake"): Zugriff verweigert

From vcpkg-manifest-install.log, the German error means access denied.

Naturally I would expect that those files would be somehow part of the project, and not messing with Visual Studio installation.

Microsoft Visual Studio Professional 2022 Version 17.8.6 VisualStudio.17.Release/17.8.6+34525.116 Visual C++ 2022 00476-80000-00000-AA991 Microsoft Visual C++ 2022

pjmlp avatar Feb 13 '24 07:02 pjmlp