Running tests fails because Config files from a shared project are not properly copied.

I have a Visual Studio solution that contains a shared project type with a file connection.config. The shared project is referenced by a MSTest project. When TeamCity builds the solution, the connection.config file is copied to the work folder, but the file is not copied to the test folder under buildTmp, so all my tests fail.

 

Any ideas?

0
1 comment

Richard,

do you have the same behavior if you run mstest from the command line? (mstest /testcontainer:YOUR_DLL.dll)?

0

Please sign in to leave a comment.