How to cover COM+ application hosted by dllhost.exe?
How to cover COM+ application hosted by dllhost.exe?
First i tryed this command:
NCover.Console.exe dllhost.exe /ProcessID:{7D46F362-C441-4131-B301-BBFBCC4B8A07}
But dllhost.exe even didn't start.
Then i tryed this one with sttings file:
NCover.Console.exe dllhost.exe / ProcessID:{7D46F362-C441-4131-B301-BBFBCC4B8A07} //r
In this case dlhost.exe has started, i have made some calls, all OK. BUT when i stop my COM+ application no report generated. It seems that NCover doesn't know about death of process. NCover.Console.exe produces the folowing output:
Command: c:\windows\system32\dllhost.exe
Command Args: /ProcessID:{7D46F362-C441-4131-B301-BBFBCC4B8A07}
Working Directory:
Assemblies:
Coverage Xml: Coverage.Xml
Coverage Log: Coverage.Log
Waiting for profiled application to connect...Connected
Configuring Profiler...
Program Output
Library COM+ application i can cover for example in nunit-gui.exe process, but i want to cover server application. Is it possible?