Nuget在共享项目中如何工作? [英] How does Nuget Work in a Shared Project?

查看:85
本文介绍了Nuget在共享项目中如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS 2015中的一个项目已签入TFS.

A project in VS 2015 is checked in to TFS.

当我使用Nuget软件包管理器将软件包添加到我的项目中时,有关此类软件包的信息保存在哪里?软件包的文件在哪里?文件是始终在项目本地还是在某些情况下安装了文件 在项目文件夹之外的文件夹中?

When I use Nuget Package Manager to add packages to my project, where is the information on such packages kept?  Where are the files of the package located?  Are the files always local to the project or are there occasions where the files are installed in a folder outside the project folder?

当另一个用户将项目从TFS获取到他自己的PC上时,所需的Nuget软件包是否也自动安装到他的PC上?

When another user gets that project from TFS onto his own PC, are the required Nuget packages also automatically installed onto his PC?

谢谢.

推荐答案

K.Kong,

Hi K.Kong,

感谢您的信息.

在将Nuget软件包安装到项目后,解决方案路径中有一个packages文件夹.例如:

There is a packages folder in your solution path after installing the Nuget package to your project. For example:

>><当另一个用户从TFS将该项目获取到他自己的PC上时,所需的Nuget软件包也会自动安装到他的PC上吗?

>>When another user gets that project from TFS onto his own PC, are the required Nuget packages also automatically installed onto his PC?

否,您需要将packages文件夹添加到TFS源代码管理中,并同时签入TFS.

No, you need to add the packages folder to your TFS source control and check into your TFS as well.

最好的问候,

肖湖


这篇关于Nuget在共享项目中如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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