title: How do I get TeamCity to pick up my NUnit tests run from Rake?
body: <p>When I run this:</p>
  
  <pre><code>sh "#{MBUNIT_PATH}Gallio.Echo.exe /no-echo-results src/#{dll}/bin/Debug/#{dll}.dll"
  </code></pre>
  
  <p>in my rakefile, Gallio runs my mbunit tests, and <a href="https://en.wikipedia.org/wiki/TeamCity" rel="nofollow noreferrer">TeamCity</a> picks up the results :D</p>
  
  <p>But this:</p>
  
  <pre><code>sh "#{NUNIT_PATH}nunit-console.exe /nologo src/#{dll}/bin/Debug/#{dll}.dll"
  </code></pre>
  
  <p>does run my tests, but TeamCity doesn't pick up the result :(</p>
  
  <p>I first tried running my <a href="http://en.wikipedia.org/wiki/NUnit" rel="nofollow noreferrer">NUnit</a> tests through <a href="https://code.google.com/p/mb-unit/" rel="nofollow noreferrer">Gallio</a>, but it doesn't detect any tests :(</p>
  
  <p>Using the teamcity NUnit launcher I get:</p>
  
  <pre><code>Failure executing test(s) on assembly nunittests.dll with NUnit 2.5.0.9122. Version 2.0 is not a compatible version.
  </code></pre>
  
  <p>What would be a solution to this? Either how I can get Gallio to pick up my NUnit tests or how do I get nunit-console to be picked up by TeamCity.</p>