Powershell运行时

Sul*_*lNR 3 powershell visual-studio-2010 nuget windows-8

我在Windows 8下运行VS 2010.安装NuGet并运行Package manager控制台后,我收到以下消息:

Error: The Package Manager Console requires PowerShell 2.0 runtime, which is not detected on this machine. Please install the PowerShell 2.0 from http://support.microsoft.com/kb/968929 and restart Visual Studio.

我知道PowerShell 3.0与Windows 8一起自动安装.为什么会弹出此错误消息?

man*_*lds 6

虽然Windows Powershell 2.0 Engine功能是默认情况下在Windows 8中,你需要打开的.Net 3.5实际使用它,提到这里:

在Windows 8上,默认情况下会启用Windows PowerShell 2.0引擎功能.但是,要使用它,您需要打开它所需的Microsoft .NET Framework 3.5选项.

按照上面链接中的步骤操作.