Skip to content

Commit 93aa75a

Browse files
Note about code styles applying in VS IDE only (#51967)
1 parent ef33f6d commit 93aa75a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/core/project-sdk/msbuild-props.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@ The `CodeAnalysisTreatWarningsAsErrors` property lets you configure whether code
11301130
### EnforceCodeStyleInBuild
11311131

11321132
[.NET code style analysis](../../fundamentals/code-analysis/overview.md#code-style-analysis) is disabled, by default, on build for all .NET projects. You can enable code style analysis for .NET projects by setting the `EnforceCodeStyleInBuild` property to `true`.
1133+
(But for performance reasons, a handful of code-style rules that apply only in the Visual Studio IDE won't be run.)
11331134

11341135
```xml
11351136
<PropertyGroup>

0 commit comments

Comments
 (0)