前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >解决VS2015启动时Package manager console崩溃的问题 - Windows PowerShell updated your execution policy successfu

解决VS2015启动时Package manager console崩溃的问题 - Windows PowerShell updated your execution policy successfu

作者头像
我思故我在
发布2022-05-10 14:41:01
4430
发布2022-05-10 14:41:01
举报
文章被收录于专栏:我思故我在我思故我在

安装VS2015,启动以后,Package manager console崩溃,错误信息如下:

代码语言:javascript
复制
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 RemoteSigned. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information please see "Get-Help Set-ExecutionPolicy".

Google以后,尝试了不少方式,在PowerShell中 setting execution policy , 修改注册表等,都没有解决。

后来发现这是Nuget的一个bug,并且已经修复了,需要重新安装Nuget, 步骤如下:

  1. 打开Vs2015 Tools -> Extensions and Updates...  卸载 NuGet Package Manager for Visual Studio 2015.
  2. 重启Visual Studio 2015.
  3. 进入 Tools -> Extensions and Updates... 重新安装 NuGet Package Manager for Visual Studio 2015.
  4. 重启Visual Studio 2015.

问题就解决了。 接下来就可以愉快的在Visual Studio 2015中使用 Package manager console 了

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2016-03-03,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档