TFS下载后解决NuGet软件包的错误 [英] Errors resolving NuGet Packages after TFS Download

查看:182
本文介绍了TFS下载后解决NuGet软件包的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个奇怪的问题,就是在VS2015 Pro中从Team Foundation Server完全下载解决方案后,所有NuGet软件包都无法解析.

I'm having a strange problem where all of NuGet packages aren't resolving after a full download of the solution from Team Foundation Server in VS2015 Pro.

在+再次尝试安装软件包之前,该解决方案运行良好,VS认为它已经存在.

The solution was working perfectly before + trying to install packages again VS reckons it already exists.

有什么想法吗?

推荐答案

我的建议是首先获取有关该项目的最新信息,如果这样做不起作用,请使用该项目上的程序包管理器重新安装该项目的程序包.

My suggestion would be to firstly get latest on the project and if that doesnt work reinstall the projects packages using the package manager on the project.

Uninstall-Package SimpleCrypto 
Install-Package SimpleCrypto 

Uninstall-Package Microsoft.Owin
Install-Package Microsoft.Owin

Uninstall-Package Owin
Install-Package Owin

Uninstall-Package EntityFramework
Install-Package EntityFramework

https://www.nuget.org/packages/SimpleCrypto/

https://www.nuget.org/packages/Microsoft.Owin/

https://www.nuget.org/packages/Owin/

https://www.nuget.org/packages/EntityFramework

这篇关于TFS下载后解决NuGet软件包的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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