- In Solution Explorer, under Solution Items, double-click the test settings file, Local.testsettings.
The Test Settings dialog box is displayed.
- Select <Local machine only> as the role to use to collect code coverage data.
- To modify the default code coverage settings in the, select the check box for Code Coverage and then click Configure located immediately above the list of
diagnostic data adapters. The Code Coverage Detail dialog box to configure code coverage collection is displayed.
- Enable Deployment and add some files that needed.