Powershell运行时

2023-12-13

我在 Windows 8 下运行 VS 2010。安装 NuGet 并运行包管理器控制台后,我收到以下消息:

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 自动安装的。为什么会弹出此错误消息?


虽然Windows Powershell 2.0 Engine该功能在 Windows 8 中默认打开,您需要打开 .Net 3.5 才能实际使用它,如上所述here:

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

请按照上面链接中的步骤操作以使其正常工作。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Powershell运行时 的相关文章

随机推荐