-
Notifications
You must be signed in to change notification settings - Fork 353
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
Upgrade System.Memory to 4.6.0 #15353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the Bcl.HashCode update as well (these packages got produced together at once from maintenance-packages so it makes sense to keep them in sync).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, I need to request changes. I just noticed that the System.Memory update impacts .NET Framework msbuild tasks. VS desktop msbuild doesn't yet have those never versions available inbox. We had to approach this differently: https://github.com/dotnet/msbuild/blob/a71903d9684e24db3db261b27ca73c0ef879cf81/eng/Versions.props#L26-L40
This doesn't cause any failures here as the msbuild tasks aren't tested inside a desktop msbuild environment.
Can you please update this change to only update those versions when building from source with a tracking issue to consolidate eventually? cc @carlossanlop @ericstj
@ViktorHofer - Do you know if the same condition is needed for fsharp: dotnet/fsharp#18166? |
Only for msbuild tasks that are executed on desktop msbuild. I don't think that's the case for fsharp so the change should be good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the Bcl.HashCode one also needs the conditional update as the Microsoft.DotNet.Build.Tasks.Feed library (which uses that package) is used in a desktop msbuild environment. Please make the same change for it as well.
The rule is that any library that ships inbox in desktop msbuild and is used by an msbuild task either directly or transitively must not go higher than what is provided inbox.
What part of source build requires a newer version of Microsoft.Bcl.HashCode? |
Good point, no component here in arcade. I'll revert the version upgrade as it's problematic with desktop msbuild. EDIT: GH wrote the commit description, no idea why it mentioned BuildTask.props. |
Using a recent daily build of .NET 10 SDK to source build the arcade repo causes the following errors:
Resolving this by upgrading to 4.6.0.