-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[Built-in analyzer] Property that starts with an underscore is set #9891
Copy link
Copy link
Open
Labels
Area: BuildCheckBuildCheck SuggestionSuggestion for a built in MSBuild analyzer. Label should be applied together with 'Area: BuildCheck'Suggestion for a built in MSBuild analyzer. Label should be applied together with 'Area: BuildCheck'triaged
Description
Background
This issue tracks one of the BuildCheck analyzers we would like to ship in-box with MSBuild.
Goal
Implement an analyzer with the following rule: Properties whose name starts with an underscore should not be set in project files that are part of the project (as opposed to SDK project files).
Notes
By convention, the leading underscore is used to mark properties as internal to common targets or SDK, and not expected to be modified by the user.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: BuildCheckBuildCheck SuggestionSuggestion for a built in MSBuild analyzer. Label should be applied together with 'Area: BuildCheck'Suggestion for a built in MSBuild analyzer. Label should be applied together with 'Area: BuildCheck'triaged
Type
Fields
Give feedbackNo fields configured for issues without a type.