[main] Update dependencies from dotnet/msbuild#48212
[main] Update dependencies from dotnet/msbuild#48212dotnet-maestro[bot] wants to merge 5 commits intomainfrom
Conversation
…0406.1 Microsoft.SourceBuild.Intermediate.msbuild , Microsoft.Build , Microsoft.Build.Localization From Version 17.15.0-preview-25204-04 -> To Version 17.15.0-preview-25206-01
Notification for subscribed users from https://github.com/dotnet/msbuild:@dotnet/kitten Action requested: Please take a look at this failing automated dependency-flow pull request's checks; failures may be related to changes which originated in your repo.
|
|
@rainersigwald Could you take a look at the failures here? |
|
Microsoft.IO.Redist was upgraded in msbuild to Line 30 in c7c6caa probably should be bumped |
|
Why does the SDK even have MicrosoftIORedistPackageVersion? It shouldn't be referencing this package at all. I bet that was added to workaround servicing update. Might be better just to remove it. |
|
It was added in #42317 |
Yeah, if we now have an MSBuild with a newer version then lets just delete that reference. |
|
@marcpopMSFT Are you aiming for "comprehensive transitive pinning so we should bump the version in SDK to match MSBuild" or ok with "delete the pinned version here because MSBuild's is high enough now"? |
@rainersigwald how likely are we to see the version needed go ahead of MSBuild? I'd been going with the theory that the SDK of all places needed comprehensive transitive pinning because we have so many upstream dependencies we don't control that may not update frequently enough. |
|
IMO you shouldn't even be touching this package. The SDK doesn't even ship it. The only time it ever appears is as a transitive reference of a task assembly built for netfx. The task doesn't ship MSBuild. So long as you make sure you mark all those references to MSBuild as compile only CG won't tell you to update any more. |
|
I think the build failures here are due to tasks compiling against the latest inserted MSBuild but running against an older machine-wide MSBuild (without redirects for new dependencies). Failure is occurring in Which references However the MSBuild being used, (at least on my machine) only redirects to 4.0.1.2. <dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly> |
|
And that update to System.Memory is coming from Microsoft.IO.Redist update: Which this change is applying regardless of Microsoft.Build version (minimum or latest). So the change I suggested above will coincidentally fix this break. |
IO.Redist is only a dependency of MSBuild on .NETFramework. It is not redistributed by SDK. It should not be referenced at all by the SDK.
…0407.13 Microsoft.SourceBuild.Intermediate.msbuild , Microsoft.Build , Microsoft.Build.Localization From Version 17.15.0-preview-25204-04 -> To Version 17.15.0-preview-25207-13
|
Closing in favor of #48251 |
This pull request updates the following dependencies
From https://github.com/dotnet/msbuild