-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[Built-in analyzer] Reference item points to the output of a project #9888
Copy link
Copy link
Closed
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: Reference items are not allowed to reference outputs of projects that are part of the build.
Notes
When one project depends on another, the ProjectReference item should be used to codify the relationship. It is generally incorrect to use a Reference for this purpose.
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