NCover only covering ascx and aspx dynamically compiled asms

NCover only covering ascx and aspx dynamically compiled asms

Hello, NCover is great so far on my local machine, but we deployed a Web Application build to a development server, with pdb files, and ran NCover. Unfortunately, it only covered the aspx and ascx dynamically compiled assemblies. It didn't cover any of the binaries that are in the bin directory. Yet, it does this just fine on my own local box.

Anyone experience this or have any solution to this?

Thanks, Josh


Re: NCover only covering ascx and aspx dynamically compiled asms

The most common cause for this is the pdb files being missing or out of date. Make sure the pdbs are the exact ones generated by the compiler when compiling the profiled dlls. Also, check your log file to see whether NCover says it has enough information to profile those assemblies or not. The log file should have a clue. If you can't figure out the issue, post a copy of your log file (or at least the portion that shows the loading and instrumentation of the affected assemblies).


Re: NCover only covering ascx and aspx dynamically compiled asms

Peter, thank you for the response, it seems that during our last push we updated the PDBs and it is working!

take care, Josh

[quote="peterw":684f0]The most common cause for this is the pdb files being missing or out of date. Make sure the pdbs are the exact ones generated by the compiler when compiling the profiled dlls. Also, check your log file to see whether NCover says it has enough information to profile those assemblies or not. The log file should have a clue. If you can't figure out the issue, post a copy of your log file (or at least the portion that shows the loading and instrumentation of the affected assemblies).[/quote:684f0]