-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[automated] Merge branch 'release/9.0.3xx' => 'main' #46183
Conversation
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
…0250109.1 Microsoft.SourceBuild.Intermediate.templating , Microsoft.TemplateEngine.Abstractions , Microsoft.TemplateEngine.Mocks From Version 8.0.309-servicing.25057.10 -> To Version 8.0.309-servicing.25059.1
…0250109.3 Microsoft.SourceBuild.Intermediate.templating , Microsoft.TemplateEngine.Abstractions , Microsoft.TemplateEngine.Mocks From Version 8.0.406-servicing.25058.1 -> To Version 8.0.406-servicing.25059.3
…merge/release/8.0.3xx-to-release/8.0.4xx
…merge/release/8.0.4xx-to-release/9.0.1xx
…108.5 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitExtensions From Version 9.0.0-beta.24623.3 -> To Version 9.0.0-beta.25058.5
Co-authored-by: Chet Husk <[email protected]>
…k and framework references
We've had issues around (heuristically) finding the appropriate workloads to recommend that the user install if they're missing packs. This should help in that it will avoid recommending experimental workloads if there are any other options. I don't feel too attached to this PR.
… have easy access to
…rison will fail far more often than is maintainable.
@rainersigwald So, there is a build error with the version of System.Memory that was added in this change by @tmat . It causes the build to error because of this check which says to contact the MSBuild team about it. |
…esolver to fix build failure
@dsplaisted @MiYanni Looks like there are a bunch of test failures in
|
@ericstj @rainersigwald @ViktorHofer We're getting failures in Full Framework that look like this:
Can you help us with this? It doesn't look like this merge changes the version of System.Text.Json that we compile against, though it does pin System.Buffers, System.Memory, and System.Threading.Tasks.Extensions. |
eng/Versions.props
Outdated
<PropertyGroup> | ||
<SystemBuffersVersion>4.6.0</SystemBuffersVersion> | ||
<SystemMemoryVersion>4.6.0</SystemMemoryVersion> | ||
<SystemThreadingTasksExtensionsVersion>4.6.0</SystemThreadingTasksExtensionsVersion> | ||
</PropertyGroup> |
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 don't think that you can already unconditionally use these versions. VS hasn't picked those versions up yet: dotnet/msbuild#11038
Either downgrade to the previous versions (when not building from source) or make sure that desktop msbuild tasks use the older versions.
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.
@dsplaisted I'm relatively sure that the above error that you posted is due to this dependency update. This manifests in a MissingMethodException
as types from those packages are used in the public method signature: System.ReadOnlySpan
.
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.
The rule we must follow on all .NETFramework tasks is:
- Reference an assembly version <= the one in MSBuild and don't ship it. We'll benefit from MSBuild's bindingRedirects for unification.
- Reference a higher assembly version than is in MSBuild and ship that version ourselves -- we cannot require bindingRedirects for any dependency that exchanges types.
As @ViktorHofer suggests - we shouldn't be upgrading these. We should remove the entries for these packages and keep all tasks in mode 1 above. Ideally we take special care in all task projects to segment what references we expect to come from MSBuild vs what's local to the task (ideally nothing).
…with existing containers tests.
…ther than pinning them globally
FYI @ericstj @ViktorHofer @tmat @rainersigwald @v-wuzhai I think I may have fixed the assembly mismatch issues with 9cf989b Instead of pinning System.Buffers, System.Memory, and System.Threading.Tasks.Extensions for the whole repo, it references the "toolset" versions (the versions supplied by Visual Studio / Full Framework MSBuild) from the HotReload.Agent.PipeRpc project. This should avoid changing the versions of these packages that other projects use. |
The current 15m timeout is a bit low for the watch tests I think. We should probably just up that. @tmat suggestion on how long the watch work items should need? I wanted the timeout low enough to get dumps on arm64 if we could. |
Was this the right fix? This PR was merged without confirmation. |
Sounds correct. I was discussing this with @dsplaisted in chat yesterday. SDK needs to be more careful about which dependencies it needs to be external. For those they really shouldn't be upgraded nor enabled for transitive pinning. |
I detected changes in the release/9.0.3xx branch which have not been merged yet to main. I'm a robot and am configured to help you automatically keep main up to date, so I've opened this PR.
This PR merges commits made on release/9.0.3xx by the following committers:
Instructions for merging from UI
This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, not a squash or rebase commit.
If this repo does not allow creating merge commits from the GitHub UI, use command line instructions.
Instructions for merging via command line
Run these commands to merge this pull request from the command line.
or if you are using SSH
After PR checks are complete push the branch
Instructions for resolving conflicts
Instructions for updating this pull request
Contributors to this repo have permission update this pull request by pushing to the branch 'merge/release/9.0.3xx-to-main'. This can be done to resolve conflicts or make other changes to this pull request before it is merged.
The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote.
or if you are using SSH
Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues.
Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.