After a completely clean install of Visual Studio Professional 2015 from the MSDN website, I started VS2015 as an administrator, opened the package manager console with Tools -> NuGet Package Manager... -> Package Manager Console , and I got this error:
"Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of Unrestricted. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information please see "Get-Help Set-ExecutionPolicy"
Following the steps above to
1) Use Tools -> Extensions and Updates... to remove NuGet Package Manager for Visual Studio 2015 .
2) Restart Visual Studio.
3) Use Tools -> Extensions and Updates... to reinstall NuGet Package Manager for Visual Studio 2015 .
4) Restart Visual Studio.
Now, when I open the package manager console, Powershell loads correctly, and everything is fine. Thanks so much for that!
bradykey Sep 16 '15 at 22:39 2015-09-16 22:39
source share