dotnet / msbuild

The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.

Home Page:https://docs.microsoft.com/visualstudio/msbuild/msbuild

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ladipro opened this issue · comments

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.