NCover fails to produce data on binaries not built on this m

NCover fails to produce data on binaries not built on this m

I run NCover on binaries I built on this machine and it produces data in Coverage.Xml, however then if I build the same binaries using the same sources on a different machine, and copy them to this machine they fail to generate coverage numbers (Coverage.Xml has only a minimal begin/end element basically).

Is this a known issue?


RE: NCover fails to produce data on binaries not built on this m

joshwil,

yes, this is a known issue. NCover profiles applications by grabbing data from the pdb's for each dll. pdbs and dlls are matched up by the C# framework (essentially) on a number of variables including date, time, version, build number, etc which means that if you want to buidl on one machine and profile on another then you need to copy both the dlls and the pdbs for that build to the profiling machine. this is usually accomplished with a sourceserver.

Regards, Stephen