6.0.1, NUnit 2.5.8 - tests blow without visible reason.

I have a new project in that has a significant number of unittests that run fine within Resharper / Visual Studio.

They blow on TeamCity without any visible reason:

[15:49:13]:  [Step 3/3] Rwe.Glori.StagingLoader.Shared.Tests.dll
[15:49:13]:   [Rwe.Glori.StagingLoader.Shared.Tests.dll] Rwe.Glori.StagingLoader.Shared.Tests.TradeTests.SerializeTrade
[15:49:13]:    [Rwe.Glori.StagingLoader.Shared.Tests.TradeTests.SerializeTrade] Test(s) failed. System.IO.FileNotFoundException : Could not load file or assembly 'Rwe.Glori.StagingLoader.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[15:49:13]:    [Rwe.Glori.StagingLoader.Shared.Tests.TradeTests.SerializeTrade] Test(s) failed. System.IO.FileNotFoundException : Could not load file or assembly 'Rwe.Glori.StagingLoader.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
   at Rwe.Glori.StagingLoader.Shared.Tests.TradeTests.SerializeTrade()
[15:49:14]:  [Step 3/3] Some tests has failed in D:\TeamCity\buildAgent.1\work\Glori 2010 Trunk\vs\Rwe.Glori\Rwe.Glori.StagingLoader.Shared.Tests\obj\Release\Rwe.Glori.StagingLoader.Shared.Tests.dll, tests run continued. Child test failed

The main problem is - the missing file or assmbly is RIGHT THERE NI THE OUTPUTDIRECTORY. I can see them. I load the test assembly into Refactor and it also finds them properly. this leaves me totally lost here.

Anyone any idea?

Please sign in to leave a comment.