Skip to content

Commit 4f7d458

Browse files
committed
Add version ref on one option not available in VS 2019
1 parent 2df5e6a commit 4f7d458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/msbuild/msbuild-command-line-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Square brackets `[]` indicate optional parts.
7171
|**-version<br/><br/>-ver**|Display version information only. The project isn't built.|
7272
|**@`file`**|Insert command-line switches from a text file. If you have multiple files, you specify them separately. For more information, see [Response files](../msbuild/msbuild-response-files.md).|
7373
|**-warnAsError[:`code`; ...]<br/><br/>-err[:`code`; ...]**|List of warning codes to treats as errors. Use a semicolon or a comma to separate multiple warning codes. To treat all warnings as errors, use the switch with no values. When a warning is treated as an error, the target continues to execute as if it was a warning, but the overall build fails.<br/><br/>Example: `-err:MSB4130`|
74-
|**-warnNotAsError[:`code`; ...]<br/><br/>-noerr[`:code`; ...]**|List of warning codes that shouldn't be promoted to errors. Specifically, if the warnAsError switch is set to promote all warnings to errors, error codes specified with warnNotAsError aren't promoted. This has no effect if warnAsError isn't set to promote all warnings to errors. Use a semicolon or a comma to separate multiple warning codes. <br/><br/>Example: `-noerr:MSB4130`|
74+
|**-warnNotAsError[:`code`; ...]<br/><br/>-noerr[`:code`; ...]**|MSBuild 17.0 and later. List of warning codes that shouldn't be promoted to errors. Specifically, if the warnAsError switch is set to promote all warnings to errors, error codes specified with warnNotAsError aren't promoted. This has no effect if warnAsError isn't set to promote all warnings to errors. Use a semicolon or a comma to separate multiple warning codes. <br/><br/>Example: `-noerr:MSB4130`|
7575
|**-warnAsMessage[:`code`; ...]<br/><br/>-noWarn[:`code`; ...]**|List of warning codes to treats as low importance messages. Use a semicolon or a comma to separate multiple warning codes.<br/><br/>Example: `-noWarn:MSB3026`|
7676

7777
## Switches for loggers

0 commit comments

Comments
 (0)