[Solved] Vcpkg Install Building package brotli:x64-windows failed with: BUILD_FAILED Locking applocal.ps1

After entering  .\vcpkg.exe install brotli: x64 windows, you see the following prompt, so you go to log
and find the prompt vcpkg/scripts/buildsystems/msbuild/applocal. PS1 'is not recognized as the name of a script file . It turns out that this file is missing, so you directly go to the vcpkg official website to supplement this file,

Read More: