dotnet / vscode-dotnet-runtime

VSCode Extension for Installing .NET via VS Code
MIT License
128 stars 229 forks source link

Why the plugin always try to install .net7? #1696

Closed NullDict closed 3 months ago

NullDict commented 3 months ago

Describe the bug.

My project never mentions .net7 at all ,but everytime after vscode opened a .net project the plug 2024-03-09 145002 in starts downloading .net7.

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

ms-dotnettools.csdevkit requested to download the .NET Runtime. Downloading .NET version(s) 7.0.16~x64 .....................................................................................................................................................................................

Reproduction Steps

Just create project by using .net8 , and open the fold in vscode.

Expected Behavior

I hope never download .net sdk which not be used in project. And ask whether editing the project config or downloading requiring .net before just start downloading.

Exceptions & Errors (if any)

No response

.NET Install Tool Version

v2.0.2

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

Windows

VS Code Version

1.87.1(user setup)

nagilson commented 3 months ago

.NET 7 is what Devkit and the C# extension run on, so they need it.