Caphyon / clang-power-tools

Bringing clang-tidy magic to Visual Studio C++ developers.
http://www.clangpowertools.com
Apache License 2.0
489 stars 56 forks source link

Cannot run PowerShell script because it is not digitally signed #231

Open edmundvermeulen opened 6 years ago

edmundvermeulen commented 6 years ago

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.

cpp-red-lion commented 6 years ago

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.