File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -275,5 +275,5 @@ dotnet_naming_style.underscore_camel_case.capitalization = camel_case
275275
276276dotnet_public_api_analyzer.require_api_files = true
277277
278- # RS0017: Symbol removed from public API - always an error (breaking change detection )
278+ # RS0017: Symbol removed from public API - error severity (IDE guidance; build enforcement via WarningsAsErrors in .csproj )
279279dotnet_diagnostic.RS0017.severity = error
Original file line number Diff line number Diff line change 88 <GenerateDocumentationFile >True</GenerateDocumentationFile >
99 </PropertyGroup >
1010
11+ <PropertyGroup >
12+ <!-- RS0017: Symbol removed from public API — hard error so breaking changes can never be
13+ silently committed. The editorconfig dotnet_diagnostic setting alone is not honoured
14+ by MSBuild for third-party NuGet analyzers; WarningsAsErrors is required. -->
15+ <WarningsAsErrors >$(WarningsAsErrors);RS0017</WarningsAsErrors >
16+ </PropertyGroup >
17+
1118 <PropertyGroup >
1219 <PublishRepositoryUrl >true</PublishRepositoryUrl >
1320 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments