External .NET Processes
CtrlAlt0K,0K
In Visual Studio: ReSharper | Cover | Cover Application… ReSharper_CoverApplication
In dotCover standalone application: File | Cover Application...
If you need to analyze coverage of a .NET process that is started in a custom way, you can start the Coverage Controller first, and then start your .NET process. dotCover will then attach to the process automatically and record coverage analysis while the process is executed.
note
The application or process you choose must have PDB information. Otherwise, dotCover will not be able to record the coverage information. For more information, refer to where to search for PDB information
Do one of the following:
In Visual Studio, press CtrlAlt0K,0K or choose ReSharper | Cover | Cover Application… from the main menu
In dotCover standalone application, press CtrlAlt0K,0K or choose File | Cover Application... from the menu.
If you can't guarantee that the analyzed process will be the first process started after you run the coverage analysis session, set up a process filter in Process filters under Specify coverage options.
Under Run analysis, click Start. dotCover will open the Coverage Controller dialog and then run the selected application.
If the Collect coverage data from start checkbox was selected, the coverage run starts immediately. Otherwise, dotCover waits until you click Start in the Coverage Controller dialog. When the coverage run is started, you can record code coverage.
Start your .NET process.
As soon as dotCover detects the process that matches the specified filter, the controls in the Coverage Controller dialog become enabled, and you can start the coverage run.