Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] csdevkit requests download of .NET runtime #876

Closed
soma-kurisu opened this issue Jan 22, 2024 · 1 comment
Closed

[BUG] csdevkit requests download of .NET runtime #876

soma-kurisu opened this issue Jan 22, 2024 · 1 comment
Labels

Comments

@soma-kurisu
Copy link

Describe the Issue

csdevkit initiates download of the wrong .NET runtime even though the right one is in place (and accessible via path).

start vscode (insiders) from current working directory in terminal (bash) whereas directory contains a valid c# project (scaffold blazor project with dotnet new). the csproj explicitly targets net8, but csdevkit requests download for net7 runtime.

my setup:

~$ dotnet --list-sdks
8.0.101 [/usr/lib/dotnet/sdk]

~$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 23.10"

watch the terminal output displaying the midway captured download process of the wrong target runtime:

Screenshot from 2024-01-22 21-55-01

Steps To Reproduce

No response

Expected Behavior

No response

Environment Information

No response

@soma-kurisu soma-kurisu added the bug Something isn't working label Jan 22, 2024
@timheuer timheuer removed the bug Something isn't working label Jan 23, 2024
@timheuer
Copy link
Member

Hi @soma-kurisu Based on your description this is all correct. This is actually downloading the .NET 7 runtime which is needed for the extension to operate. While you have the .NET 8 SDK installed, which also includes the .NET 8 runtime, it does not contain the .NET7 version of the runtime required by the extension to run (we will be updating soon). So this is by-design to get the required dependency to enable the extension to run...we do not roll-forward to new runtimes. It does not affect the SDK you are using and targeting on builds, etc. for .NET 8.

I hope this helps explain a bit.

@timheuer timheuer closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants