dotnet / dotnet/vscode-dotnet-runtime

`routeRequestToProperVersionRequestType` is not aware of when the distro feed is out of date and thus thinks its providing the latest version

Open
#2,163 11 comments 0 reactions 1 assignee Claimed by @nagilson View on GitHub
good first issue help wanted P2
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

The version of the SDK is displayed incorrectly in ‘dotnet --info’ and ‘dotnet --list-sdks’ after running the sample command ‘ NET SDK Globally via .NET Install Tool (Former Runtime Extension).

### Please attach log file(s) here if you have any.

[1.zip](https://github.com/user-attachments/files/19159550/1.zip)[](url)

### Reproduction Steps

1. On Ubuntu 24.04, run the sample command ‘Install .NET SDK Globally via .NET Install Tool (Former Runtime Extension)‘.
2. Enter 8.0.113, Hit enter.
3. Observe output window、”dotnet --info"、"dotnet --list-sdks"

### Expected Behavior

On output window, it should download .NET successfully, in ‘dotnet --info’ and ‘dotnet --list-sdks’, the SDK version should be 8.0.113.

### Exceptions & Errors (if any)

In ‘dotnet --info’ and ‘dotnet --list-sdks’, the SDK version is displayed incorrectly.

![Image](https://github.com/user-attachments/assets/e6ba257b-fd5b-4be8-a0d0-848666273be4)

![Image](https://github.com/user-attachments/assets/eb7cddf4-ed10-4510-9f6c-3aa24f1357eb)

![Image](https://github.com/user-attachments/assets/d657511d-1733-4831-ac83-3b707abfd9f7)

### .NET Install Tool Version

2.2.9

### VS Code Version

1.98.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.