Skip to content

Commit d80f1b6

Browse files
authored
public repo edit
1 parent 55b4419 commit d80f1b6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎docs/code-quality/using-rule-sets-to-specify-the-cpp-rules-to-run.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ The following example shows a basic rule set file that you can use as a starting
104104
::: moniker-end
105105

106106
## Ruleset schema
107-
The ruleset schema below describes the XML schema of a ruleset file. It is stored in `%VSINSTALLDIR%\Team Tools\Static Analysis Tools\Schemas\RuleSet.xsd`. You can use it to author your own rulesets programmatically, and/or validate if your custom rulesets adhere to the right format. For more information, see [How to: Create an XML document based on an XSD schema](https://docs.microsoft.com/en-us/visualstudio/xml-tools/how-to-create-an-xml-document-based-on-an-xsd-schema?view=vs-2019).
107+
108+
The following ruleset schema describes the XML schema of a ruleset file. The ruleset schema is stored in `%VSINSTALLDIR%\Team Tools\Static Analysis Tools\Schemas\RuleSet.xsd`. You can use it to author your own rulesets programmatically or to validate whether your custom rulesets adhere to the correct format. For more information, see [How to: Create an XML document based on an XSD schema](https://docs.microsoft.com/visualstudio/xml-tools/how-to-create-an-xml-document-based-on-an-xsd-schema?view=vs-2019).
108109

109110
```xml
110111
<?xml version="1.0" encoding="utf-8"?>
@@ -226,7 +227,8 @@ The ruleset schema below describes the XML schema of a ruleset file. It is store
226227
</xs:schema>
227228

228229
```
229-
For the meaning of each schema element, see below.
230+
231+
Schema element details:
230232

231233
- TLocalization: Localization information including name of the ruleset file, description of the ruleset file, name of the resource assembly containing the localized resource, and base name of the localized resource.
232234
- TRuleHintPaths: File paths used as hints to search for ruleset files.

0 commit comments

Comments
 (0)