You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TaskAnalyzer: retire MSBuildTask0005 and simplify transitive diagnostics #15284
Retire the separate MSBuildTask0005 rule and simplify the task analyzer's rule structure.
MSBuildTask0005 reports unsafe APIs reached through helper calls. Its independent Warning severity can differ from the severity of the rule for the same direct call. Configuration and suppression also use different IDs.
#14777 provides a small immediate fix: restrict MSBuildTask0004 and MSBuildTask0005 to MT analysis, while preserving explicit migration analysis. It deliberately does not redesign transitive diagnostics.
Completion criteria
Agree on the replacement design. Decide whether to retain useful call-chain findings under the originating rule IDs or remove transitive reporting.
Document how the design handles severity, suppression, call-site locations, task-entry locations, and duplicate reports.
Define the transition for existing MSBuildTask0005 configuration, pragmas, and suppression attributes. Do not silently turn a suppressed warning into a new warning.
Implement retirement of the separate rule and remove code used only by MSBuildTask0005.
Activity