Powershell uptime

I am running VS 2010 on Windows 8. After installing NuGet and launching the Package Manager Console, I get the following message:

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.

I know PowerShell 3.0 is installed automatically with Windows 8. Why is this error message appearing?

+3


source to share


2 answers


While the feature is Windows Powershell 2.0 Engine

enabled by default in Windows 8, you need to enable .Net 3.5 to use it, as mentioned here :

Windows 8 includes the Windows PowerShell 2.0 Engine feature by default. However, in order to use it, you need to enable the option for Microsoft .NET Framework 3.5, which is required.



Follow the instructions in the link above to get it working.

+6


source


While PowerShell 3.0 is installed by default on Windows 8, PowerShell 2.0 is not. You can go to Programs and Features and select Turn Windows Features On or Off and from there you can choose Windows PowerShell 2.0 to install.



+2


source







All Articles