2

The panel appears and it says "Package Manager Console Host version 3.2.0.10515" and "Initializing PowerShell host..." It stays like this and I have to shut down VS using the Task Manager.

magicandre1981
  • 27,895
  • 5
  • 86
  • 127
John H
  • 502
  • 6
  • 9
  • Hey @John-H, did you manage to fix this? I've got almost the same version - 3.2.0.10516 and precisely the same symptoms.. Gragh! – danodonovan Nov 09 '15 at 09:57

1 Answers1

0

Microsoft has published a hotfix for that issue, here is information how to apply it:

Here is the Link

Or This command line can be used to automate the process (run as admin), until issue is fixed:

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\PowerShell /v ExecutionPolicy /f

Source

Community
  • 1
  • 1
Krsna Kishore
  • 8,233
  • 4
  • 32
  • 48
  • This didn't work. I have NuGet Package Manager version 3.2.6, which is newer than the hotfix. I don't have the PowerShell registry path. I am using Windows 10 and also had the same problem in Windows 7. – John H Oct 01 '15 at 16:05
  • @JohnH Check this [link](http://blog.jsinh.in/nuget-install-update-error-failed-to-initialize-the-powershell-host/#.Vg1kbeyqqko) – Krsna Kishore Oct 01 '15 at 16:51