Third-party DLLs with TFS build server

爱⌒轻易说出口 提交于 2019-12-06 04:10:23

问题


I'm just setting up an automated build for the first time in my Team Foundation Server (TFS)/Visual Studio 2010 enviroment.

It's a WPF 4 application that uses the Entprise library and has also some components that have been built in Expression Blend.

The application builds OK inside Visual Studio. However, it fails to build using the build server.

For example:

The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Expression\Blend.NETFramework\v4.0\Microsoft.Expression.Blend.WPF.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

Do I have to install third-party DLLs on the build server? Or is having the DLLs checked into TFS enough?


回答1:


I always create a third-party DLLs folder as part of my solution (at the solution root called Libs) and have projects reference them from that folder. That way, builds will work with no extra effort, locally on a get latest on a new machine and on the build server.

Also, because third party DLLs are part of your SCC trunk, when required you can version them in branches.



来源:https://stackoverflow.com/questions/6400080/third-party-dlls-with-tfs-build-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!