clang-power-tools icon indicating copy to clipboard operation
clang-power-tools copied to clipboard

Cannot run PowerShell script because it is not digitally signed

Open edmundvermeulen opened this issue 7 years ago • 1 comments

Trying to run Clang Power Tools gives a security error in the output window. The MachinePolicy is set to AllSigned, and I cannot change that. Digitally signing the script should solve this problem.

& : File C:\Users\Me\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\pr3zi0lu.egf\clang-build.ps1 cann ot be loaded. The file C:\Users\Me\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\pr3zi0lu.egf\clang- build.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.

edmundvermeulen avatar Feb 08 '18 09:02 edmundvermeulen

Good suggestion 👍 We haven't run into this problem until now, but I understand your concern. We'll address this issue in a future release.

cpp-red-lion avatar Feb 08 '18 10:02 cpp-red-lion