From 6085eec0b9fbefc5ac9078ed3ed9a27849d64662 Mon Sep 17 00:00:00 2001 From: Jonathon Marolf Date: Wed, 28 Oct 2020 16:18:51 -0700 Subject: [PATCH 1/2] Call out code style enforcement as experimental --- docs/fundamentals/code-analysis/overview.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/fundamentals/code-analysis/overview.md b/docs/fundamentals/code-analysis/overview.md index bf7b15f18b132..be3a92313cfd1 100644 --- a/docs/fundamentals/code-analysis/overview.md +++ b/docs/fundamentals/code-analysis/overview.md @@ -104,6 +104,8 @@ By default, you'll get the latest code analysis rules and default rule severitie Starting .NET 5.0 RC2, you can enable code style analysis on build, both at the command line and inside Visual Studio. Code style violations appear as warnings or errors with an "IDE" prefix. This enables you to enforce consistent code styles at build time. +**NOTE:** This feature is currently experimental and may change between the release of .NET 5 and .NET 6 + Steps to enable code style analysis on build: 1. Set the MSBuild property [EnforceCodeStyleInBuild](../../core/project-sdk/msbuild-props.md#enforcecodestyleinbuild) to `true`. From 1c9a330afc598defbb322f859de9c2ab9a4f1c47 Mon Sep 17 00:00:00 2001 From: Jonathon Marolf Date: Wed, 28 Oct 2020 17:18:55 -0700 Subject: [PATCH 2/2] use correct note format --- docs/fundamentals/code-analysis/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fundamentals/code-analysis/overview.md b/docs/fundamentals/code-analysis/overview.md index be3a92313cfd1..b46b3630db6a7 100644 --- a/docs/fundamentals/code-analysis/overview.md +++ b/docs/fundamentals/code-analysis/overview.md @@ -104,7 +104,7 @@ By default, you'll get the latest code analysis rules and default rule severitie Starting .NET 5.0 RC2, you can enable code style analysis on build, both at the command line and inside Visual Studio. Code style violations appear as warnings or errors with an "IDE" prefix. This enables you to enforce consistent code styles at build time. -**NOTE:** This feature is currently experimental and may change between the release of .NET 5 and .NET 6 +[!NOTE] This feature is currently experimental and may change between the .NET 5 and .NET 6 releases. Steps to enable code style analysis on build: