Visual Studio 2015 中的 Nuget 崩溃 [英] Nuget crash in visual studio 2015

查看:24
本文介绍了Visual Studio 2015 中的 Nuget 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2015 Enterprise 中的包管理器控制台在启动后立即崩溃并出现错误:

Package manager console crash in visual studio 2015 enterprise just after start with error:

Windows PowerShell 成功更新了您的执行策略,但是设置被在更特定范围内定义的策略覆盖.由于覆盖,您的外壳将保持其当前有效RemoteSigned 的执行策略.输入Get-ExecutionPolicy -List"到查看您的执行策略设置.有关更多信息,请参阅获取帮助设置执行策略".

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".

我尝试了很多事情,例如将 Power Shell 中的执行策略设置为 remoteSigned,但没有任何帮助,nuget 仍然无法正常工作.

I have tryied a lot of things like like setting execution policy in power shell to remoteSigned but nothing helped, nuget still don't work.

有人遇到同样的问题吗?感谢您的任何提前.

Any one have the same issue? Thanks for any advance.

推荐答案

Microsoft 已针对该问题发布了修补程序,以下是如何应用它的信息:

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

现在可以安装修补程序.请从以下位置之一适当地获取安装:

A hotfix is now available to install. Please grab the install from one of these locations appropriately:

VS 2013 的 2.8.7:https://github.com/NuGet/Home/releases/download/2.8.7/NuGet.Tools.vsix

2.8.7 for VS 2013: https://github.com/NuGet/Home/releases/download/2.8.7/NuGet.Tools.vsix

VS 2015 的 3.1.1:https://github.com/NuGet/Home/releases/download/3.1.1/NuGet.Tools.vsix

3.1.1 for VS 2015: https://github.com/NuGet/Home/releases/download/3.1.1/NuGet.Tools.vsix

NuGet 将在下周将这些发布到 Visual Studio 库.

NuGet will publish these to the Visual Studio gallery next week.

有关更多信息,请访问此页面:https://connect.microsoft.com/VisualStudio/反馈/详细信息/1572078/nuget-crash-in-visual-studio-2015-enterprise

For more information visit this page: https://connect.microsoft.com/VisualStudio/feedback/details/1572078/nuget-crash-in-visual-studio-2015-enterprise

这篇关于Visual Studio 2015 中的 Nuget 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆