如何“签入”使用Nuget包的代码 [英] How to do 'check in' to code that uses Nuget package
问题描述
我在我的项目中添加了一个nuget包,我使用它。现在我想'检查'我的代码。 (我使用micorostAPICodePack包)
i added a nuget package to my project and i use it. now i want to do 'check in' to my code. (i use micorostAPICodePack package)
最好的方法是什么?我正在使用微软tfs 2013.
what is the best way to do it? i'm using microsoft tfs 2013.
推荐答案
嗨 rge123,
Hi rge123,
感谢您在此发帖。
所以您要检查从包中安装的那些程序集将您的代码整合到TFS中?
So you want to check in those assemblies installed from the package with your code together into TFS?
当您将软件包安装到项目中时,此软件包中的所有程序集都将下载到"Packages"文件夹(位于您的解决方案路径下)和自动引用您的项目。如果你使用TFVC版本控制,它
将检查"包"夹。然后你从其他计算机上退房,这些包将在你构建时自动恢复。
When you install packages to your project, all the assemblies in this package will be downloaded into the "Packages" folder(which is under your solution path) and referenced to your project automatically. If you use TFVC version control, it will check in the "Packages" folder. Then you check out from other computer and those packages will be restored automatically when you build it.
所以你只需检查你的代码而不用担心。
So you just check in your code and don't worry about that.
祝你好运,
这篇关于如何“签入”使用Nuget包的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!