Cannot setup TeamCity NUnit test runner.

I'm try run nunit tests with Team City, i'm setup new build step. Nunit runner NUnit 2.6.0, Run test from: ***/**.Tests.dll. After run test i'm get error:
SetUp method failed. SetUp : System.IO.FileNotFoundException : Невозможно загрузить файл или сборку
"TestInfrastructure, Version=, Culture=neutral, PublicKeyToken=null" или один из зависимых от них компонентов.
Не удается найти указанный файл.
   в BillingProvider.Tests.PaymentsParserTests.ComplexParserEngineTests.Init()

I'm try run test manual from NUnit test runner, all tests PASS. Where problem?

Comment actions Permalink


Usually such error means your assembly depends on native 32-bit components, but TeamCity starts it in 64-bit environment.
Please try to change .NET Runtime platform option in NUnit step settings.

Comment actions Permalink

I'm run teamcity on 32-bit server and cannot change platform to 64-bit.


Please sign in to leave a comment.