Skip to content

[main] Update dependencies from dotnet/msbuild #18363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Mar 17, 2025

Conversation

dotnet-maestro[bot]
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Mar 6, 2025

This pull request updates the following dependencies

From https://github.com/dotnet/msbuild

…0306.7

Microsoft.SourceBuild.Intermediate.msbuild , Microsoft.Build , Microsoft.Build.Framework , Microsoft.Build.Tasks.Core , Microsoft.Build.Utilities.Core
 From Version 17.11.0-preview-24178-03 -> To Version 17.14.0-preview-25156-07
Copy link
Contributor

github-actions bot commented Mar 6, 2025

✅ No release notes required

@psfinaki psfinaki requested a review from a team as a code owner March 7, 2025 10:59
@psfinaki
Copy link
Member

psfinaki commented Mar 7, 2025

Hi @ellahathaway and @mthalman. So I am trying to apply what you mentioned in this PR - I've set up a new Maestro subscription to flow msbuild to our repo, which produced this PR.

Good news is that I could remove the recently added lines from SourceBuildPrebuiltBaseline.xml.

But - the new MSBuild version claimed the updates to the System packages which, in turn, SourceBuild is now complaining about:

Package IDs are:
System.Collections.Immutable.9.0.0
System.Configuration.ConfigurationManager.9.0.0
System.Diagnostics.DiagnosticSource.9.0.0
System.Diagnostics.EventLog.9.0.0
System.Formats.Asn1.9.0.0
System.Formats.Nrbf.9.0.0
System.Reflection.Metadata.9.0.0
System.Resources.Extensions.9.0.0
System.Security.Cryptography.ProtectedData.9.0.0
System.Text.Encoding.CodePages.9.0.0
System.Threading.Tasks.Dataflow.9.0.0

What's your recommendation? Should I add those to the baseline - like Roslyn has that? Should I do something else?

dotnet-maestro bot and others added 2 commits March 8, 2025 05:02
…0307.7

Microsoft.SourceBuild.Intermediate.msbuild , Microsoft.Build , Microsoft.Build.Framework , Microsoft.Build.Tasks.Core , Microsoft.Build.Utilities.Core
 From Version 17.11.0-preview-24178-03 -> To Version 17.14.0-preview-25157-07
@T-Gro
Copy link
Member

T-Gro commented Mar 10, 2025

I don't think it's correct for us to depend on preview versions in our versions.props - those bits are flowing automatically to release branches, and consequently, insertions.

I don't think I have seen preview versions for those components in versions.props before, so we should only do it if it gives any sensible advantage (e.g. compared to taking last known good stable versions).

A source build specific config can of course do whatever source build requires, I do understand that.

…0310.8

Microsoft.SourceBuild.Intermediate.msbuild , Microsoft.Build , Microsoft.Build.Framework , Microsoft.Build.Tasks.Core , Microsoft.Build.Utilities.Core
 From Version 17.11.0-preview-24178-03 -> To Version 17.14.0-preview-25160-08
@psfinaki
Copy link
Member

@T-Gro I get your perspective and I personally don't have any big preference here.

That said, note that we actually do have preview packages among our dependencies, e.g. this and this.

It's not uncommon for sibling repos to have preview deps as well, e.g. ASP.NET Core has the hell lot of them.

That was the reason for my choice. However, it's trivial to resetup this in Maestro, if we want to.

@T-Gro
Copy link
Member

T-Gro commented Mar 11, 2025

@T-Gro I get your perspective and I personally don't have any big preference here.

That said, note that we actually do have preview packages among our dependencies, e.g. this and this.

It's not uncommon for sibling repos to have preview deps as well, e.g. ASP.NET Core has the hell lot of them.

That was the reason for my choice. However, it's trivial to resetup this in Maestro, if we want to.

None of the links, neither this repo nor aspnetcore, are making it to be part of the shipped product.
This is not really about preference - it is about being aware what is being a shippable production product.

If you can ensure that the preview versions remain in main only and release branches will have stable versions, that works.
(if the benefits are really that big and additional complexity+cost is justified)

dotnet-maestro bot and others added 4 commits March 12, 2025 05:01
…0311.14

Microsoft.SourceBuild.Intermediate.msbuild , Microsoft.Build , Microsoft.Build.Framework , Microsoft.Build.Tasks.Core , Microsoft.Build.Utilities.Core
 From Version 17.11.0-preview-24178-03 -> To Version 17.14.0-preview-25161-14
…0228.1

Microsoft.SourceBuild.Intermediate.msbuild , Microsoft.Build , Microsoft.Build.Framework , Microsoft.Build.Tasks.Core , Microsoft.Build.Utilities.Core
 From Version 17.11.0-preview-24178-03 -> To Version 17.13.19-preview-25128-01
@psfinaki
Copy link
Member

Okay @mthalman @ellahathaway this should be good to go, I set up Maestro to not send previews to us, which in turn now doesn't require System packages update. As the result, this only removes stuff from SourceBuildPrebuildBaseline without adding anything there - which is nice.

@github-project-automation github-project-automation bot moved this from New to In Progress in F# Compiler and Tooling Mar 12, 2025
…0312.14

Microsoft.SourceBuild.Intermediate.msbuild , Microsoft.Build , Microsoft.Build.Framework , Microsoft.Build.Tasks.Core , Microsoft.Build.Utilities.Core
 From Version 17.11.0-preview-24178-03 -> To Version 17.13.20-preview-25162-14
@psfinaki psfinaki enabled auto-merge (squash) March 13, 2025 11:59
@psfinaki psfinaki disabled auto-merge March 13, 2025 11:59
@psfinaki
Copy link
Member

/azp run

@psfinaki psfinaki enabled auto-merge (squash) March 17, 2025 12:34
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@psfinaki psfinaki merged commit 4dc458c into main Mar 17, 2025
33 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in F# Compiler and Tooling Mar 17, 2025
@dotnet-maestro dotnet-maestro bot deleted the darc-main-e82e7809-0231-4bcd-a79d-6ec19871b7ba branch March 17, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants