msbuild
msbuild copied to clipboard
[main] Source code updates from dotnet/dotnet
[!NOTE] This is a codeflow update. It may contain both source code changes from the VMR as well as dependency updates. Learn more here.
This pull request brings the following source code changes
From https://github.com/dotnet/dotnet
- Subscription: 91fa59f1-1864-46b1-b482-87955691317c
- Build: 20250616.3
- Date Produced: June 16, 2025 11:03:12 PM UTC
- Commit Diff: ad85650...2034317
- Commit: 20343176cfd35b56036dc4ca9d9ddd2a201a4e92
- Branch: main
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
this has a couple test failures, can someone please take a look at them?
I am on it now
The packageSourceMapping enabled in NuGet.config at repo level causes the package source configured in nuget.config for the tests is not considered and results in the test failures. It was ever fixed in https://github.com/dotnet/msbuild/pull/11854. But the enabled packageSourceMapping at repo level subsequently broke internal build step that restore internal tools using eng\common\internal\NuGet.config becuase its packages source was not considered, see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=11614135&view=logs&j=bb592630-4b9d-53ad-3960-d954a70a95cf&t=cec29cdc-34bb-52dc-f525-f2be67883d7f&l=34. Then the update was reverted by https://github.com/dotnet/msbuild/pull/11859 to unblock internal build.
The test errors are fixed by the @GangWang01's fix from the previous PR.
The MSBuild CI will indeed still fail if we merge this PR because of the eng\common\internal\NuGet.config. I suggested a fix for arcade that should fix this config for us: https://github.com/dotnet/arcade/pull/15918. Let's wait until it is merged and flow to msbuild before we can merge this PR.
It should be safe to take after merging https://github.com/dotnet/msbuild/pull/12062