Start Coverage Analysis for Startup Project
dotCover lets you run the startup project of your Visual Studio solution under its control. All executable .NET project types are supported. With a single keystroke, dotCover will rebuild the solution and start the coverage run.
Run the startup project under dotCover Control
Press Control+Alt+K, P or choosefrom the main menu . Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.
dotCover will open the Coverage Controller dialog and then run the startup project of the current solution.
When the target application or process is started, you can record code coverage of the test running application.
dotCover will run the startup project using the current build configuration, in the same way as when you press F5 in Visual Studio. Before running coverage analysis, make sure that the PDB information exists for all target assemblies. The safest choice would be to set the Debug as the build configuration.
If you need to run the project with custom configuration without changing the debug (or release) configuration, press Control+Alt+K, K or choose Start Coverage Analysis for External Applications.from the main menu For more information, see