Need help with the NCover exclusions using command line

Need help with the NCover exclusions using command line

Hi,

I am using NCover version 1.5.5 and trying to understand how to exclude some classes /methods using //ea command line option. I tried creating a custom attribute, but I still see those methods in the generated report.

Any help regarding this is appreciated. I am using NUnit-Net-2.0 2.2.8. The command I am using is as follows :

C:\Program Files\NCover>NCover.Console.exe "C:\Program Files\NUnit-Net-2.0 2.2.8
\bin\nunit-console" "D:\MyTest\bin\Debug\MyTest.dll" //ea CoverageExcludeAttribute.

Thanks