Trying run a window service getting exception:

Trying run a window service getting exception:

I tried run code coverage against window servcie. I got the exception below when i stopped the service. But if am running the same service as an APP. Its doing some coverage but i want it to be run as window service. Any ideas ?

No data was collected. -- Stack Trace at NCover.Framework.ProfilerDriver._GetCoverageData() at NCover.Framework.ProfilerDriver.Execute() at NCover.ConsoleMain.ConsoleMain.Main(String[] args)


RE: Trying run a window service getting exception:

what command line were you using?