gpt4 book ai didi

c# - 包需要 NuGet 客户端版本 '2.12'

转载 作者:IT王子 更新时间:2023-10-29 04:06:49 26 4
gpt4 key购买 nike

我正在尝试在 visual studio 2012 中安装“WindowsAzure.Storage 8.0.1”,但出现错误

package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.60318.667'.

运行命令“Install-Package NuGet.Client”

Attempting to resolve dependency 'NuGet.Versioning (≥ 3.5.0)'.
Attempting to resolve dependency 'NuGet.Packaging (≥ 3.5.0)'.
Attempting to resolve dependency 'NuGet.Common (≥ 3.5.0)'.
Attempting to resolve dependency 'NuGet.Packaging.Core (≥ 3.5.0)'.
Attempting to resolve dependency 'NuGet.Packaging.Core.Types (≥ 3.5.0)'.
Attempting to resolve dependency 'NuGet.Frameworks (≥ 3.5.0)'.
Attempting to resolve dependency 'NuGet.Repositories (≥ 3.5.0)'.
Attempting to resolve dependency 'NuGet.RuntimeModel (≥ 3.5.0)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 6.0.4)'.
Attempting to resolve dependency 'NuGet.ContentModel (≥ 3.5.0)'.
'NuGet.Client 3.5.0' already installed.

但我仍然收到错误。

The 'WindowsAzure.Storage 8.0.1' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.60318.667'.

最佳答案

更新您的 NuGet 包管理器扩展。转到 Tools->Extensions and Updates 并选择 Updates->Visual Studio Gallery。更新 NuGet 包管理器扩展。然后在 Visual Studio 重新启动后尝试安装包。

关于c# - 包需要 NuGet 客户端版本 '2.12',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42173657/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com