我试图安装的NuGet包,比如统一或的EntityFramework,但下载的NuGet无法安装这些并返回此错误消息后:问题与安装的NuGet包
Your machine group policy or user group policy disables execution of PowerShell script.
Adjust your group policy settings to allow execution of PowerShell scripts
我怎样才能解决这个问题?在此先感谢;)
你使用的是什么版本的NuGet?尝试升级到最新版本。听起来像这个问题:http://nuget.codeplex.com/workitem/834 – PHeiberg 2011-06-15 07:54:20
我的NuGet版本是1.3.20419.9007,我已经将PowerShell ExecutionPolicy更改为Unrestricted。但是我的问题还没有解决! – Sadegh 2011-06-15 14:41:38
注意:我用管理员帐户测试过这个问题,一切都找到了,但我在我自己的帐户(Sadegh)中有这个问题但是这个帐户也在Admonistrators下! – Sadegh 2011-06-15 14:44:00