Bootstrap project overbuilds when invoked outside the solution
Open
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.