I was able to get NCover up and running properly last night. I learned a couple of things that I thought I might note.
- NCover only seems to produce output if it is in the same folder as the assemblies you are profiling.
- If you don’t compile your assembly(ies) with their debug symbols, NCover isn’t able to instrument and profile it (them).
- Though I didn’t test the feature myself, it has been noted inthe NCover forums that if you are profiling with NUnit and don’t specify the /noshadow parameter, NCover doesn’t produce output.
- CoverLib.dll (shipped with NCover) is a COM library that requires registration in the registry for NCover to work properly (regsvr32 CoverLib.dll). This is performed if you install NCover on your machine, but (obviously) not if you are only including the executable and assemblies in your repository.