diff --git a/docs/fundamentals/code-analysis/overview.md b/docs/fundamentals/code-analysis/overview.md index bf7b15f18b132..b46b3630db6a7 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 .NET 5 and .NET 6 releases. + Steps to enable code style analysis on build: 1. Set the MSBuild property [EnforceCodeStyleInBuild](../../core/project-sdk/msbuild-props.md#enforcecodestyleinbuild) to `true`.