如何在构建服务器上集成使用依赖关系的应用程序?

问题描述:

我想在TFS构建服务器上激活Prism应用程序的连续集成。实际上,构建控制器不能编译应用程序,因为它没有Prism库。 Prism在我的Visual Studio中注册在我的开发机器上,项目只是引用它。我想知道是否应该在项目中签入库,或者应该在构建服务器上安装库。

I would like to activate continuous integration for a Prism application on a TFS build server. Actually the build controller is not able to compile the application because it does not have the Prism Library. Prism is registered in my Visual Studio on my developing machine and the project simply reference it. I was wondering if I should checkin the library within the project or should I install the library on the build server.

因此,使用依赖关系集成应用程序的实践一个构建服务器?

So what practice do you use to integrate application using dependencies on a build server?

我最终选择了一个基于pantelif想法的解决方案。

I finally opted for a solution based on pantelif idea.

我手动使用NuGet来引用包,而不是手动检入和管理。首先,它完全适合源代码控制,因为它检出任何需要构建项目的文件。

Instead of manually checking in and managing depedencies manually, I used NuGet to reference packages. Firstly it is perfectly suitable for source control as it checks-out any file required to build the project. Secondly it supports easy updates of the libraries.

感谢您的帮助。