Skip to content

Use default ProviderKey for Desktop bundle - #7334

Merged
joeloff merged 1 commit into
dotnet:release/10.0.1xxfrom
joeloff:desktop-provider-key
Jun 24, 2026
Merged

Use default ProviderKey for Desktop bundle#7334
joeloff merged 1 commit into
dotnet:release/10.0.1xxfrom
joeloff:desktop-provider-key

Conversation

@joeloff

@joeloff joeloff commented Jun 23, 2026

Copy link
Copy Markdown
Member

Overview

The Desktop Runtime bundle generates an explicit provider key instead of using the default which matches the bundle registration code. This can result in blocking the removal of a previous install. As shown below, the provider key and dependent (bundle registration code) are not the same.

image

Customer Impact

When the deferred removal key is set to nextSession, the old version of the runtime is not removed because there are multiple dependents. The screenshot below shows that the 10.0.2 and 10.0.9 installs are registered against the same provider.

image

This also results in overwriting the provider data when attempting to perform an out-of-order installs. This scenario is supported to allow ISVs to redist runtimes with their software. If a user already has a newer runtime installed, we do not want the ISV install to fail.

Regression

Yes, this is a regression from .NET 9.0

Testing

Manually verified. Below is a screenshot from a dev build showing that the provider key and dependent now match

image

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team June 23, 2026 20:24
@joeloff joeloff added Servicing-consider Issue for next servicing release review Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Jun 23, 2026
@joeloff

joeloff commented Jun 23, 2026

Copy link
Copy Markdown
Member Author

Approved by tactics over email.

@joeloff
joeloff merged commit addbb8a into dotnet:release/10.0.1xx Jun 24, 2026
11 checks passed
joeloff pushed a commit to joeloff/dotnet that referenced this pull request Jul 27, 2026
#### AI description  (iteration 1)
#### PR Classification
Integration merge from public release/10.0.1xx branch to internal branch, updating dependency versions and refactoring baseline PR creation tool.

#### PR Summary
This PR merges the public release/10.0.1xx branch into the internal branch, primarily updating package dependency versions across the SDK and refactoring the baseline PR creation tool to use DarcLib instead of Octokit.

- `eng/Version.Details.xml`: Updated all dependency versions (Microsoft.Build, Microsoft.CodeAnalysis, NuGet.*, Microsoft.AspNetCore.*, etc.) from build SHA `fe7283f2bc56523c765bc050be87a97543db180a` to `47c73391bfb8274e379c74c19694ccabff33bc3e`
- `eng/tools/CreateBaselineUpdatePR/PRCreator.cs`: Replaced Octokit-based GitHub API client with DarcLib's IRemoteGitRepo abstraction for cross-provider (GitHub/AzDO) support, changed tree/commit operations to use GitFile-based changesets, and introduced deterministic head branch naming
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->


Related work items: dotnet#7237, dotnet#7238, dotnet#7239, dotnet#7240, dotnet#7244, dotnet#7254, dotnet#7267, dotnet#7268, dotnet#7269, dotnet#7275, dotnet#7304, dotnet#7321, dotnet#7325, dotnet#7332, dotnet#7334, dotnet#7346, dotnet#7358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants