From ed0ea665e5e62e2ae537af97018a37e79136e09a Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Mon, 27 Jul 2026 14:07:16 -0700 Subject: [PATCH] Add link to never rules Updated the explanation of the EnforceCodeStyleInBuild property to include a link to specific code-style rules that won't be run for performance reasons. --- docs/core/project-sdk/msbuild-props.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/project-sdk/msbuild-props.md b/docs/core/project-sdk/msbuild-props.md index d2e12722363e9..a77b6db6ce676 100644 --- a/docs/core/project-sdk/msbuild-props.md +++ b/docs/core/project-sdk/msbuild-props.md @@ -1163,7 +1163,7 @@ The `CodeAnalysisTreatWarningsAsErrors` property lets you configure whether code ### EnforceCodeStyleInBuild [.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`. -(But for performance reasons, a handful of code-style rules that apply only in the Visual Studio IDE won't be run.) +(But for performance reasons, a [handful of code-style rules](https://github.com/dotnet/roslyn/blob/7c69ea6a9a16bd8ded79ce0d7c0256d59736d486/src/Analyzers/Core/Analyzers/EnforceOnBuildValues.cs#L140) that apply only in the Visual Studio IDE won't be run.) ```xml