I am busy trying to configure a build server for TFS2010. My project has references to Microsoft.practices. The build fails because it can’t find these references on the build server – because I haven’t installed the Microsoft.practices on the build server.
I was wondering if installing it on the build server is the best way to do it, or is there another way to add the 3rd party references when configuring the build server?
I know I can just install it, but I’m looking to follow best practices here.
Regards,
Byron Cobb
I would keep the referenced third party dlls in TFS within your project. Structured similar to:
Now edit your build definition, in the Workspace tab, in the Working folders section, make a reference to you /lib folder in your project. The build agent will retrieve the 3rd party libs and use it for compilation.