Skip to content

[Built-in analyzer] Reference item points to the output of a project #9888

@ladipro

Description

@ladipro

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.

Metadata

Metadata

Assignees

Labels

Area: BuildCheckBuildCheck SuggestionSuggestion for a built in MSBuild analyzer. Label should be applied together with 'Area: BuildCheck'triaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions