如何使用 Visual Studio Express 2012 升级 nuget [英] How to upgrade nuget with Visual Studio Express 2012

查看:64
本文介绍了如何使用 Visual Studio Express 2012 升级 nuget的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在通过 Nuget 控制台安装此软件包 Microsoft.Net.Http 时,出现此错误:

While installing this package Microsoft.Net.Http via Nuget console I got this error:

Install-Package : The 'Microsoft.Net.Http 2.2.28' package requires NuGet client version '2.8.1' or above, but the current NuGet version is '2.6.40627.9000'.

  • 请问如何将 Nuget 升级到 2.8.1 版?
  • 我在谷歌上找不到任何东西.

    I Cant find anything easily on google.

    推荐答案

    要将 Visual Studio 中的 NuGet 更新到最新版本,您可以使用扩展管理器.

    To update NuGet in Visual Studio to the latest version you can use the Extensions Manager.

    1. 从工具"菜单中选择扩展和更新".
    2. 然后在打开的对话框中选择更新选项卡.
    3. 然后选择 Visual Studio Gallery.
    4. 选择适用于 Visual Studio 的 NuGet 包管理器,然后单击更新"按钮.

    如果要安装 NuGet 2.8.1,可以从 NuGet 的 CodePlex 网站

    If you want to install NuGet 2.8.1 you can download the Visual Studio installer (VSIX) from NuGet's CodePlex web site

    这篇关于如何使用 Visual Studio Express 2012 升级 nuget的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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