|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<RunSettings> |
| 3 | + <DataCollectionRunSettings> |
| 4 | + <DataCollectors> |
| 5 | + <DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName="Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| 6 | + <Configuration> |
| 7 | + <CodeCoverage> |
| 8 | + |
| 9 | + <!-- |
| 10 | + Includes/Excludes: |
| 11 | + Empty "Include" clauses imply all; empty "Exclude" clauses imply none. |
| 12 | + Each element in the list is a regular expression (ECMAScript syntax). See /visualstudio/ide/using-regular-expressions-in-visual-studio. |
| 13 | + An item must first match at least one entry in the include list to be included. |
| 14 | + Included items must then not match any entries in the exclude list to remain included. |
| 15 | + --> |
| 16 | + |
| 17 | + <Attributes> |
| 18 | + <Exclude> |
| 19 | + <Attribute>^System\.Diagnostics\.DebuggerHiddenAttribute$</Attribute> |
| 20 | + <Attribute>^System\.Diagnostics\.DebuggerNonUserCodeAttribute$</Attribute> |
| 21 | + <Attribute>^System\.CodeDom\.Compiler\.GeneratedCodeAttribute$</Attribute> |
| 22 | + <Attribute>^System\.Diagnostics\.CodeAnalysis\.ExcludeFromCodeCoverageAttribute$</Attribute> |
| 23 | + </Exclude> |
| 24 | + </Attributes> |
| 25 | + |
| 26 | + <!-- Match the path of the source files in which each method is defined: --> |
| 27 | + <Sources> |
| 28 | + <Exclude> |
| 29 | + <Source>.*\\benchmarks\\.*</Source> |
| 30 | + <Source>.*\\modules\\.*</Source> |
| 31 | + <Source>.*\\samples\\.*</Source> |
| 32 | + <Source>.*\\test\\.*</Source> |
| 33 | + </Exclude> |
| 34 | + </Sources> |
| 35 | + |
| 36 | + <!-- We recommend you do not change the following values: --> |
| 37 | + |
| 38 | + <!-- Set this to True to collect coverage information for functions marked with the "SecuritySafeCritical" attribute. Instead of writing directly into a memory location from such functions, code coverage inserts a probe that redirects to another function, which in turns writes into memory. --> |
| 39 | + <UseVerifiableInstrumentation>True</UseVerifiableInstrumentation> |
| 40 | + <!-- When set to True, collects coverage information from child processes that are launched with low-level ACLs, for example, UWP apps. --> |
| 41 | + <AllowLowIntegrityProcesses>True</AllowLowIntegrityProcesses> |
| 42 | + <!-- When set to True, collects coverage information from child processes that are launched by test or production code. --> |
| 43 | + <CollectFromChildProcesses>True</CollectFromChildProcesses> |
| 44 | + <!-- When set to True, restarts the IIS process and collects coverage information from it. --> |
| 45 | + <CollectAspDotNet>False</CollectAspDotNet> |
| 46 | + <!-- When set to True, static native instrumentation will be enabled. --> |
| 47 | + <EnableStaticNativeInstrumentation>True</EnableStaticNativeInstrumentation> |
| 48 | + <!-- When set to True, dynamic native instrumentation will be enabled. --> |
| 49 | + <EnableDynamicNativeInstrumentation>True</EnableDynamicNativeInstrumentation> |
| 50 | + <!-- When set to True, instrumented binaries on disk are removed and original files are restored. --> |
| 51 | + <EnableStaticNativeInstrumentationRestore>True</EnableStaticNativeInstrumentationRestore> |
| 52 | + |
| 53 | + </CodeCoverage> |
| 54 | + </Configuration> |
| 55 | + </DataCollector> |
| 56 | + </DataCollectors> |
| 57 | + </DataCollectionRunSettings> |
| 58 | +</RunSettings> |
0 commit comments