Team City 7 can't find DLL's in a project

I am trying to get our solution to work with Team City 7. I'm running into problems when Team City builds from the main solution (.sln) file. Once it reaches the project where we keep our unit tests, Team City spits out an error about not finding all sorts of DLL's like Gallio.dll, mbunit.dll etc.
Locally this project compiles fine though and all the references to these DLL's are set correctly. Why does Team City run into issues?
Error looks like this:

General Logic\Language\LanguageLogicTests.cs(6, 7): error CS0246: The type or namespace name 'Gallio' could not be found (are you missing a using directive or an assembly reference?)

1 comment
Comment actions Permalink

Hi Patrick

Please check you're using relative paths to these dlls, and they are available within the project.
I see your second question in and suppose both errors have the same reasons.


Please sign in to leave a comment.