TFS生成不下载缺少的NuGet包 [英] TFS Build doesn't download missing NuGet packages
问题描述
我一直在试图建立我的构建服务器(团队基础服务)自动下载第三方库,成功打造,但我不知道如何做到这一点。
I've been trying to setup my build server (Team Foundation Service) to automatically download 3rd party libraries and successfully build, but I don't know how to do this.
有没有办法?
推荐答案
您需要启用你想建在构建机上的解包还原。这至少是我做得到的NuGet与团队建设工作。 这里有一个有关包的链接恢复和怎样建设过程中使用它 <一href="http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages">http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages
you need to enable package restore for the solution you want to build on the build machine. This is at least what I did to get NuGet to work with Team build. Here's a link about package restore and how to use it during build http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages
这篇关于TFS生成不下载缺少的NuGet包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!