简体   繁体   English

NuGet包管理器未显示已安装的包

[英]NuGet Package Manager not showing Installed Packages

We have a team of devs. 我们有一个开发团队。 All have NuGet installed. 都安装了NuGet。 We are all using TFS. 我们都在使用TFS。 One team member adds a NuGet package and checks in. The other team members all get the associated assemblies and NuGet packages.config fine. 一个团队成员添加一个NuGet包并签入。其他团队成员都获得关联的程序集和NuGet packages.config。 However, when they go to "Manage NuGet Packages" the "Installed Packages" does not show the package added by other team members. 但是,当他们转到“管理NuGet包”时,“已安装的包”不会显示其他团队成员添加的包。 It shows fine for the person that added the package initially. 它对于最初添加包的人来说很好。

Is this expected behavior? 这是预期的行为吗? Are we doing something wrong? 我们做错了吗?

Thanks 谢谢

One issue i have found is that the packages are not considered part of the solution and get saved at the solution level (this is in a packages folder). 我发现的一个问题是,包不被视为解决方案的一部分,并在解决方案级别保存(这是在包文件夹中)。 You may need to do a check-in on the solution folder (in source control explorer) to check in the packages that nuget downloads so that others get both the references and the packages. 您可能需要在解决方案文件夹(在源代码管理资源管理器中)中签入以检入nuget下载的包,以便其他人同时获取引用和包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM