Skip to content

Conversation

@nagilson
Copy link
Member

@nagilson nagilson commented Nov 25, 2025

Resolves #2476

2 core issues are resolved in this change:

1:
https://github.com/dotnet/vscode-dotnet-runtime/pulls?q=is%3Apr+is%3Aclosed made it so that we skip the offline check before reusing existing installs. The runtime install is automated and we update it automatically so it's ok to use an older runtime version for the acquire API if forceUpdate is not true. For the SDK, we don't update automatically, so we shouldn't use the existing install of the same major.minor unless we are offline and can't do anything. You could debate whether we'd want to do that either, but we've leaned towards minimizing friction.

2:
The check to get a major minor failed if the version was not fully quantified. We should be able to handle that better.

3:
Updates dependencies. Normally this would be a separate PR, but there is a lot of OOF during the holidays and it will be easier to get this through with 1 PR.

Also improves test coverage.

Resolves dotnet#2476

2 core issues are resolved in this change:

1.  https://github.com/dotnet/vscode-dotnet-runtime/pulls?q=is%3Apr+is%3Aclosed made it so that we skip the offline check before reusing existing installs. The runtime install is automated and we update it automatically so it's ok to use an older runtime version for the acquire API if forceUpdate is not true. For the SDK, we don't update automatically, so we shouldn't use the existing install of the same major.minor unless we are offline and can't do anything. You could debate whether we'd want to do that either, but we've leaned towards minimizing friction.

2:
The check to get a major minor failed if the version was not fully quantified. We should be able to handle that better.

Also improves test coverage.
@nagilson nagilson marked this pull request as ready for review November 25, 2025 18:49
@nagilson nagilson requested a review from a team November 25, 2025 18:51
Co-authored-by: Jacques Eloff <joeloff@users.noreply.github.com>
@nagilson nagilson enabled auto-merge November 25, 2025 20:07
@nagilson nagilson merged commit 437acbe into dotnet:main Nov 25, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NETE2ESDK] An error occurred when using a single number version to install SDK.

2 participants