Nuget 1.5 ->16 安装问题 [英] Nuget 1.5 -> 16 install issue

查看:57
本文介绍了Nuget 1.5 ->16 安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行 VS2010 Ultimate,我以前使用过带有 Nuget 的 VS Web Dev 2010 Express:我在安装 Ultimate 之前卸载了它.

I am running VS2010 Ultimate, I used to have VS Web Dev 2010 Express with Nuget before: I uninstalled it before installing Ultimate.

在管理员模式下我从 vs 卸载 Nuget 1.5,在管理员模式下重新启动 vs,安装 1.6,然后重新启动 vs. Nuget 工作了几天.

In admin mode I uninstalled Nuget 1.5 from vs, restarted vs in admin mode, installed 1.6, and then restarted vs. Nuget worked for several days.

第二天,包管理器不会出现 - 它不会给我一个错误,它只是不会加载.如果我尝试卸载它,卸载按钮会变灰(我认为这意味着插件正在使用中).如果我重新启动vs,那么我可以卸载.

The next day, the package manager wont come up - it doesnt give me an error, it just wont load. If I try to uninstall it, the uninstall button is greyed out (which I assume means that the addin is in use). If I restart vs, then I can uninstall.

我尝试卸载 Nuget 并重新安装多次(未生成错误消息)

I have tried uninstalling Nuget and reinstalling it several times (no error messages generated)

尝试加载包管理器控制台和包管理器设置,不要启动任何东西.

Trying to load Package Manager Console and the Package Manager Settings, dont launch anything.

有没有办法安装 1.5 版?我找了一个链接,但找不到.

Is there a way to install version 1.5? I've looked for a link but cannot find one.

有没有我可以检查的日志文件,看看有什么问题?

Is there a log file I can check to see what is wrong?

这对我来说是一个非常令人沮丧的问题.

This has been an extremely frustrating issue for me.

更新:

我使用 devenv/log,尝试打开包控制台.

I used devenv /log, tried to open the package console.

这是日志文件的一部分:

Here's part of the log file:

225 离开函数 LoadDTETypeLib VisualStudio 2011/12/30 21:54:45.181

225 Leaving function LoadDTETypeLib VisualStudio 2011/12/30 21:54:45.181

226 错误 SetSite 程序包 [NuGet.Tools.NuGetPackage、NuGet.Tools、版本=1.6.21215.9133、Culture=neutral、PublicKeyToken=b03f5f7f11d50a3a] {5FCC8577-4FEB-4D 失败D6C629B083CC} 80131509 VisualStudio 2011/12/30 21:54:45.196

226 ERROR SetSite failed for package [NuGet.Tools.NuGetPackage, NuGet.Tools, Version=1.6.21215.9133, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] {5FCC8577-4FEB-4D04-AD72-D6C629B083CC} 80131509 VisualStudio 2011/12/30 21:54:45.196

227 错误 结束包加载 [NuGet.Tools.NuGetPackage,NuGet.Tools,版本=1.6.21215.9133,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a] {5FCC8577-4FEB-429D040C} 80131509 VisualStudio 2011/12/30 21:54:45.227

227 ERROR End package load [NuGet.Tools.NuGetPackage, NuGet.Tools, Version=1.6.21215.9133, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] {5FCC8577-4FEB-4D04-AD72-D6C629B083CC} 80131509 VisualStudio 2011/12/30 21:54:45.227

228 警告 包加载失败;跳过标志抑制的错误消息 {5FCC8577-4FEB-4D04-AD72-D6C629B083CC} VisualStudio 2011/12/30 21:54:49.486

228 Warning Package failed to load; error message suppressed by skip flag {5FCC8577-4FEB-4D04-AD72-D6C629B083CC} VisualStudio 2011/12/30 21:54:49.486

229 进入函数 CVsPackageInfo::HrInstantiatePackage

229 Entering function CVsPackageInfo::HrInstantiatePackage

谢谢!

推荐答案

终于得到了它的工作:不得不删除 c:\User Data\\AppData\Roaming\NuGet\NuGet.Config(这是空的),现在它可以加载.

Finally got it working: had to delete c:\User Data\\AppData\Roaming\NuGet\NuGet.Config (which was empty) and now it can load.

这篇关于Nuget 1.5 ->16 安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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