Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TeamCity doesn't copy all referenced libraries

I have a solution with a web application, from within the webapp I'm referencing another project that references and external library.

WebApp -> SupportingProject -> ExternalDll

everything is fine when I build the solution in debug/release inside visual studio, but when it gets built in TeamCity one of the references doesn't get copied over. all other files referenced by the supporting project are copied except that single one.

I was able to get around this by directly adding a reference to that library, but wanted to figure out the underlying cause of it.

all the references are marked as copy local.

I'm using the Visual Studio (sln) build runner in teamcity.

like image 897
kay.one Avatar asked Mar 26 '12 17:03

kay.one


1 Answers

This is not an issue with TeamCity but the way that VisualStudio and MSBuild work and what you are doing is correct. See SO Question MSBuild doesn't copy references (DLL files) if using project dependencies in solution

like image 52
Bronumski Avatar answered Oct 02 '22 00:10

Bronumski