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.
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:
Referenceitems are not allowed to reference outputs of projects that are part of the build.Notes
When one project depends on another, the
ProjectReferenceitem should be used to codify the relationship. It is generally incorrect to use aReferencefor this purpose.