dotnet / dotnet/vscode-dotnet-runtime

bogus error message

Open
#2,265 1 comment 0 reactions 0 assignees View on GitHub
needs more info
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

I renamed a workspace file & one of the projects in that file is .NET 8, since renaming the workspace, when opening that workspace I get an error that .NET 9 could not be download...

1. The message is irrelevant, the project does not use .NET 9
2. The error is wrong, it needs .NET 8 & has .NET 8, so there's nothing to download!
3. The correct fix is to uninstall this extension & run .NET that's installed with VS, but VSCode would force me to uninstall the C# extensions as well, incorrectly claiming that it can't run .NET without this extension even though this extension's only purpose is to download & install missing .NET versions

Even though it's neither free nor open source, I need to buy Sublime Text... it will be worth it not having to deal with the incompatibility between Electron & Windows (32GB RAM*, nothing else but a browser running, & I have to restart VSCode multiple times per day to keep it from getting laggy)... never mind this kind of nonsense... I need to switch from VSCode to VS to do serious development & debugging anyway because Code is too barebones to be useful for anything other than quick searches & reviewing code

\* that's on the home PC... work PC is 64GB RAM with Teams & Outlook also running, same lagginess that endemic to Electron-based apps

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

The log file location should be copied to your clipboard if you came from VS Code.

### Reproduction Steps

Open .NET 8 project on a PC without .NET 9

### Expected Behavior

project opens without error

### Exceptions & Errors (if any)

download error for .NET 9 even though .NET 9 will not be loaded

### .NET Install Tool Version

2.3.3

### Your operating system? Please provide more detail, such as the version and or distro above.

Windows

### VS Code Version

1.99.3

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.