Empty Coverage File

Empty Coverage File

Hello, I just download the latest version of NCover and tried running it with NUnit and all I get is a coverage file with the following content:

<?xml version="1.0" encoding="utf-8"?>

<!-- saved from url=(0022)http://www.ncover.com/ -->

The command I ran was the following: "c:\Program Files\NCover\NCover.Console.exe" "c:\Program Files\NUnit 2.4.7\bin\nunit-console.exe" MyTests.nunit //a "Assembly1;Assembly2" //l coverage.log

I looked in the log file and the only failures I see are the following: 1. Failed to load symbols for module [c:\Program Files\NUnit 2.4.7\bin\nunit.core.interfaces.dll] in [c:\Program Files\NUnit 2.4.7\bin].

  1. (0x0000164C) MESSAGE: Failed to load symbols for module [C:\WINNT\assembly\GAC_MSIL\System\2.0.0.0b77a5c561934e089\System.dll] in [C:\WINNT\assembly\GAC_MSIL\System\2.0.0.0b77a5c561934e089].

  2. (0x0000164C) MESSAGE: Failed to load symbols for module [c:\Program Files\NUnit 2.4.7\bin\nunit.core.extensions.dll] in [c:\Program Files\NUnit 2.4.7\bin].

  3. (0x0000164C) MESSAGE: ModuleAttachedToAssembly ---- Module[]: 0x06cb22fc; 0x00000029 attached To Assembly[]: 0x062cbc60; 0x00000027 (0x0000164C) ERROR(0x80070057) Failed to get the assembly identity from module. (0x0000164C) ERROR(0x80070057) Failed to get Assembly Identity.

The tests look like they ran, it said that 1094 ran with 0 failures. I have a bunch of tests that I'm ignoring which it warns me about but that's about it. Any suggestions on how to get this working? Thanks in advance for any help...


RE: Empty Coverage File

arostami,

does the log file say that NCover found symbols for "Assembly1" or "Assembly2"?

Stephen