NuGet 包管理器不显示已安装的包
我们有一个开发团队。全部都安装了 NuGet。我们都在使用TFS。一名团队成员添加了一个 NuGet 包并签入。其他团队成员都获得了关联的程序集和 NuGet packages.config 。但是,当他们转到“管理 NuGet 包”时,“已安装的包”不会显示其他团队成员添加的包。对于最初添加该包的人来说,它显示得很好。
这是预期的行为吗?我们做错了什么吗?
谢谢
We have a team of devs. All have NuGet installed. We are all using 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. However, when they go to "Manage NuGet Packages" the "Installed Packages" does not show the package added by other team members. It shows fine for the person that added the package initially.
Is this expected behavior? Are we doing something wrong?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现的一个问题是,这些包不被视为解决方案的一部分,而是保存在解决方案级别(位于包文件夹中)。您可能需要签入解决方案文件夹(在源代码管理资源管理器中)以签入 nuget 下载的包,以便其他人同时获取引用和包。
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.