Skip to content

[Built-in analyzer] Multiple projects share the same obj/bin #9879

@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: No two projects should have the same OutputPath or IntermediateOutputPath.

Notes

Using a shared directory for outputs or intermediates often leads to file access issues and non-deterministic builds.

Metadata

Metadata

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions