From 639cf03edc04eb8052d8c27402c2e323fc2012df Mon Sep 17 00:00:00 2001 From: Jonathon Marolf Date: Thu, 29 Oct 2020 10:02:06 -0700 Subject: [PATCH 1/2] Update msbuild-props.md --- docs/core/project-sdk/msbuild-props.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/core/project-sdk/msbuild-props.md b/docs/core/project-sdk/msbuild-props.md index a2c8c6e9ee1d9..8df695065997e 100644 --- a/docs/core/project-sdk/msbuild-props.md +++ b/docs/core/project-sdk/msbuild-props.md @@ -225,6 +225,8 @@ The `CodeAnalysisTreatWarningsAsErrors` property lets you configure whether code ### EnforceCodeStyleInBuild +[!NOTE] This feature is currently experimental and may change between the .NET 5 and .NET 6 releases. + [.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`. ```xml From d37fb6f87c854e19e6403805ab0c70ad5383d05d Mon Sep 17 00:00:00 2001 From: Jonathon Marolf Date: Thu, 29 Oct 2020 10:51:27 -0700 Subject: [PATCH 2/2] Update docs/core/project-sdk/msbuild-props.md Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --- docs/core/project-sdk/msbuild-props.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/core/project-sdk/msbuild-props.md b/docs/core/project-sdk/msbuild-props.md index 8df695065997e..6629e6758552f 100644 --- a/docs/core/project-sdk/msbuild-props.md +++ b/docs/core/project-sdk/msbuild-props.md @@ -225,7 +225,8 @@ The `CodeAnalysisTreatWarningsAsErrors` property lets you configure whether code ### EnforceCodeStyleInBuild -[!NOTE] This feature is currently experimental and may change between the .NET 5 and .NET 6 releases. +> [!NOTE] +> This feature is currently experimental and may change between the .NET 5 and .NET 6 releases. [.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`.