I’m running VS 2010 under Windows 8. After installing NuGet, and running 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 that PowerShell 3.0 is installed automatically along with Windows 8. Why would this error message pop up?
While the
Windows Powershell 2.0 Enginefeature is on by default in Windows 8, you need to turn on .Net 3.5 to actually use it, as mentioned here:Follow the steps in the above link to get it working.