Failure in Net 4

Failure in Net 4

I have unit tests that work with NCover 3.4, Nunit 2.5.8 and Net 3/3.5.

The same unit tests block when the application is converted to Net 4.

By "block" I mean that the console runs and prints the following line

Process 'nunit-console-x86' [PID 1860] has finished profiling.

And then it just sits there never exiting until I kill the process. (When it works the is no pause at all.) Additionally it leaves the nunit console app running even once the ncover process as been killed.

I have found that using NUnit 2.5.9 works. However there is no problem running NUnit 2.5.8 itself with the unit tests. There is nothing odd about the code under test, nothing but C# and nothing extensive. I have several different projects and all exhibit the same behavior.

I am running on Windows 7.

My command line looks like the following

ncover.console.exe 
  "...\NUnit 2.5.9\bin\net-2.0\nunit-console-x86.exe" 
   "XXX.Test.dll"   /noshadow