missing assembly coverage

missing assembly coverage

Hi,

I have been using NCover to get Coverage for some of my assemblies. I just added a few more to the ncover.console.exe using the //a tag. This does not seem to work for some of the new assemblies even though the pdbs are in place. Could you tell me what am i missing?

Thanks.


RE: missing assembly coverage

Does the item just not get added or is there no symbol coverage?

What version of ncover are you using?

Can you provide the command line that you are creating?

Joe


RE: missing assembly coverage

Hi,

This item does not get added at all. I am using NCover 3.0.

I am using set USEDEVTOOL="C:\Program Files\NCover\NCover.Console.exe" {exe} {args} //x c:\temp\coverage{guid}.xml //l c:\temp\coverage{guid}.log //reg //a ;

Thanks.


RE: missing assembly coverage

do your tests execute code in those assemblies?


RE: missing assembly coverage

yes.


RE: missing assembly coverage

does the ncover log file say "found symbols for [assembly you are expecting]"?


RE: missing assembly coverage

Hi.. sorry for the late reply..

i get HEADER: Including Assemblies matching these patterns:

and then my assemblies names


RE: missing assembly coverage

the HEADER item is expected. do your assembly's names appear anywhere else in the file?


RE: missing assembly coverage

No i do not.


RE: missing assembly coverage

Some additional information. I have a server client setup and i am trying to profile all the processed from the server, the thing is that i am not getting coverage for my PresLogic assemblies. Is it possible that i need to try to cover these from the Client side?


RE: missing assembly coverage

NCover does not work like that. It must start the application in order to profile it.

Joe