Unable to merge due to unresolvable differences
Unable to merge due to unresolvable differences
Okay, I have a very obfuscated setup here, but I'm hoping there's a way to "resolve" the differences.
I have a Visual Studio 2005 solution running TestDriven.net and NCover. I have a website and a slew of helper DLLs. Previously, if I right-clicked on the Solution and did Test With -> Coverage, it would run all of the DLLs (minus the website) and produce a report. Now, recently, I added an NUnit test to one of the logic DLLs which uses a package called wwAspRuntimeHost to emulate web requests. Very cool, and it works. If I run the tests or even the DLL project and do coverage, all is well. However, when I try to run coverage on the whole solution again, it fails with the following:
Unable to merge due to unresolvable differences in the coverage files. Run your code coverage again to ensure the results are consistent against the same source code.
The merge has been aborted.
How can I figure out how to fix this? This hampers my testing automation efforts. The one weird thing that wwAspRuntimeHost does is create a temporary AppDomain in which it runs the Asp.Net runtime. Now, guessing at how the runtime works, it uses the DLLs which are in the bin directory of the web project, and perhaps these are somehow screwing with the merge results? I have no clue.
See here for the runtime code: http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp
Thanks!
Kevin
Re: Problem running ncover
Hi Gibo,
you need to register the CoverLib.dll
Ciao
Thomas
Re: Problem running ncover
Hi,
I've tried ... unfortunately without success !
I've got the same behaviour.
Thanks,
gibo