Last active
September 21, 2015 08:21
-
-
Save ryupold/d9569f6a2fc600a3a392 to your computer and use it in GitHub Desktop.
Errors & Solutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"errors":["Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first."], | |
"solutions":[ | |
{ | |
"sources":["http://stackoverflow.com/questions/23353951/cant-install-nuget-package-because-of-failed-to-initialize-the-powershell-host"], | |
"description":"set execution policy to unrestricted", | |
"action":"PowerShell (as Admin): start-job { Set-ExecutionPolicy Unrestricted } -RunAs32 | wait-job | Receive-Job" | |
}, | |
{ | |
"sources":["http://stackoverflow.com/questions/23353951/cant-install-nuget-package-because-of-failed-to-initialize-the-powershell-host"], | |
"description":"Remember to restart Visual Studio after you've done the Set-ExecutionPolicy Unrestricted in PowerShell (x86). If that doesn't work, try Set-ExecutionPolicy RemoteSigned in PowerShell (x86) then restart Visual Studio.", | |
"action":"PowerShell (as Admin): Set-ExecutionPolicy RemoteSigned" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment