安装 NuGet 1.8 时出错 [英] Error Installing NuGet 1.8

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

问题描述

NuGet 1.8 似乎有一些有趣的新功能.不幸的是,当我尝试从 Visual Studio 中更新时,出现错误:

NuGet 1.8 seems to have some interesting new features. Unfortunately when I attempt to update from within Visual Studio, I get the error:

Value cannot be null.
Parameter name: v1

我想我只是从 Visual Studio 外部安装它,看看它是否效果更好,但我找到了下载链接

I figured I would just install it from outside Visual Studio and see if that works better, but the download link I found

http://nuget.codeplex.com/releases

未列出NuGet Visual Studio 扩展"的任何下载.

does not list any downloads for "NuGet Visual Studio extension".

如何更新 NuGet?

How can I update NuGet?

更新

这是在 Windows 7 64 位,Visual Studio Ultimate 2010SP 1 上,从最近的 NuGet 版本(如何检查版本号?)升级到 NuGet 1.8.

This is on Windows 7 64-bit, Visual Studio Ultimate 2010SP 1, upgrading from recent NuGet version (how do I check version number?) to NuGet 1.8.

推荐答案

根据评论,我做了以下事情:

Based on the comments, I did the following:

  • 关闭所有 Visual Studio 实例
  • 以管理员身份启动了一个新的 Visual Studio 实例
  • 工具/扩展管理器
  • 选择 NuGet 包管理器
  • 点击卸载(如果您不是管理员,卸载显示为灰色)
  • 重新启动 Visual Studio(仍以管理员身份)
  • 工具/扩展管理器
  • 在线图库
  • 安装 NuGet
  • 重新启动 Visual Studio(这次不是以管理员身份)
  • 恢复工作

这篇关于安装 NuGet 1.8 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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