我試圖安裝的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