Ali*_*hşi 3 powershell entity-framework ef-code-first
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
Run Code Online (Sandbox Code Playgroud)
我在包管理器控制台中遇到上述错误.我找到了一些解决方案,但我无法修复它.我试过以下
我改变了执行政策,

但我总是得到同样的错误.
您可能更改了64位PowerShell的执行策略,并且程序包管理器正在运行32位(反之亦然).
我尝试打开32位控制台(PowerShell(x86))并在那里设置执行策略,因为错误肯定指向那种解决方案.