Skip to content

Commit 0a49553

Browse files
committed
Update DotNetCli.md
Contains name changes in project.json from RC2 and a clarification on schema issue
1 parent 057eede commit 0a49553

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

documentation/DotNetCli.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,19 @@ If the project is restored and built right now this will already run the analyze
1818

1919
## Rulesets and stylecop.json
2020

21-
To supply a ruleset file and a stylecop.json configuration file to the compiler they have to be manually added as arguments to the compiler. For this add the following under the `compilationOptions` node in the project.json file:
21+
To supply a ruleset file and a stylecop.json configuration file to the compiler they have to be manually added as arguments to the compiler. For this add the following under the `buildOptions` node in the project.json file:
2222
```json
2323
"additionalArguments": [ "/ruleset:path/to/ruleset.ruleset", "/additionalfile:path/to/stylecop.json" ]
2424
```
2525

26+
**Note: ** `additionalArguments` is not currently defined in the schema but does exist and is passed during the build
27+
2628
## Enabling xml documentation processing
2729

2830
All analyzers regarding xml documentation can only run if the xml processing is enabled. To do this add
2931
```json
3032
"xmlDoc": "true"
3133
```
3234

33-
to the `compilationOptions` node of the project.json file. Note that this might cause additional CS1591 diagnostics to appear by the compiler.
35+
to the `buildOptions` node of the project.json file. Note that this might cause additional CS1591 diagnostics to appear by the compiler.
3436
They can be suppressed in the ruleset file if necessary.

0 commit comments

Comments
 (0)