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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With