Locally run, everything works just fine. When I execute a test from TeamCity I get the following error.
System.IO.FileNotFoundException:
Could not load file or assembly 'XXX.Lib, Version=2.0.5288.17943, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
The system cannot find the file specified. File name: 'XXX.Lib, Version=2.0.5288.17943, Culture=neutral, PublicKeyToken=null'
To remedy it, I checked that the file is referenced. I also checked in the properties that Copy Local is set to true and that Path is pointing to C:\TFS... where my version control resides.
Apparently, the file doesn't get to the right position and I'm at a loss because I don't know how to make it do what I want. Suggestions?
I strongly suspect that it's similar to this issue, right here, but I've got no idea:
1. how to get the information on where TC looks for the DLL, nor
2. How to enforce the correct path on it to look at.