msbuild icon indicating copy to clipboard operation
msbuild copied to clipboard

Add infra config to ConfigurationContext

Open maridematte opened this issue 1 year ago • 1 comments

Fixes https://github.com/dotnet/msbuild/issues/10123

Changes Made

Analyzers now have access to infrastructure configuration data, which contains severity and isEnabled attributes.

maridematte avatar Jun 03 '24 12:06 maridematte

This looks great and meets original requirements.

As discussed offline - let's change CustomConfigurationData so that it has RuleId, dictionary of custom key-values, BuildAnalyzerConfiguration - that way the accessing of custome or infra config would be same (by index, or searched by RuleId)

JanKrivanek avatar Jun 04 '24 17:06 JanKrivanek