File C:\Users\Acer\Desktop\Projelerim\BEM_CANLI\BEM\packages\EntityFramework.5.
0.0\tools\init.ps1 cannot be loaded because its execution is blocked by softwar
e restriction policies. For more information, contact your system administrator.
At line:1 char:44
+ $__pc_args=@(); $input|%{$__pc_args+=$_}; & <<<< 'C:\Users\Acer\Desktop\Proj
elerim\BEM_CANLI\BEM\packages\EntityFramework.5.0.0\tools\init.ps1' $__pc_args[
0] $__pc_args[1] $__pc_args[2]; Remove-Variable __pc_args -Scope 0
+ CategoryInfo : NotSpecified: (:) [], PSSecurityException
+ FullyQualifiedErrorId : RuntimeException
我在软件包管理器控制台中收到上述错误。我找到了一些解决方案,但无法解决。我尝试了以下
http://sqlish.com/file-ps1-不能被加载,因为该脚本的执行权限在此系统上请参阅-获得帮助-关于_签名-更多细节/
我更改了执行政策,
但是我总是得到同样的错误。
您可能更改了64位Powershell的执行策略,并且程序包管理器正在运行32位(反之亦然)。
我会尝试打开32位控制台(PowerShell(x86))并在其中设置执行策略,因为错误肯定是指向这种分辨率的。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句