dotnet / dotnet/msbuild

Bootstrap project overbuilds when invoked outside the solution

Open
#9,081 0 comments 0 reactions 0 assignees View on GitHub
Area: Our Own Build internal-team-onboarding Priority:3 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Because of the way our bootstrap project references `MSBuild.csproj` in order to collect x86, amd64, and ARM64 copies of files, it winds up rebuilding all of MSBuild for each architecture, as shown in
[PBDL.zip](https://github.com/dotnet/msbuild/files/12195738/PBDL.zip).

This is skipped in builds driven through the normal script, because in solution context `AssignProjectConfiguration` overrides the MSBuild.csproj references back to the AnyCPU solution configuration. But we shouldn't depend on that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.