Hi - I am using TeamCity 3.0.1 (build 6010) and I am attempting to have TC run my unit tests.
I am using the sln2005 build runner to build my solution which contains a few projects, one of which is an nunit project. When TC is to execute the unit tests it complains about not being able to load a specific version of NUnit while flagging the build is broken. However, the unit tests are still being run.
Here is something from my build log:
: [Target "...] Failure executing test(s). If you assembly is not built using NUnit version 188.8.131.52, then ensure you have redirected assembly bindings. Consult the documentation of the ]]> task for more information.
: [Target "....] Could not load file or assembly 'nunit.framework, Version=184.108.40.206, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. Den angivne fil blev ikke fundet.
Looking into the TeamCity installation folder I can see that nunit.framework.dll version 220.127.116.11 is located there, whereas version 18.104.22.168 which my project is building with is located in my program files directory.
I would like to have TC run with my the correct version of nunit and avoid having the build marked as broken. Does anyone have any ideas how can I fix this?