Open gfree76 opened 3 months ago
Hey, thank you for trying out this feature. Sorry it's not working for you! My initial suspicion was you just needed a restart but you mentioned doing this for at least vs code.
If you are still hitting this, may you upload a log please so we can properly investigate?
Our log files are located alongside VS Code logs. If you want to find them manually, navigate here: Linux: ~/.config/Code/logs Mac: ~/Library/Application Support/Code/logs/ Windows: c:\Users\USER\AppData\Roaming\Code\logs\
Then find the folder created at the time you experienced the bug in the logs folder. From there, go to window1 -> exthost -> ms-dotnettools.vscode-dotnet-runtime. The log file should be located in this folder.
Note: The window folder may change depending on how many VS Code windows you have open; if our extension is running in the 2nd window, it'd be in a folder called window2.
Thank you for looking at this!
From what I can tell, the tool thinks it installed correctly:
3/21/2024, 8:43:26 AM DotnetWSLCheckEvent
Checking if system is WSL. OS: darwin
3/21/2024, 8:43:27 AM DotnetAcquisitionStatusRequested
8.0
3445ca21a214ca714b56fae55cefb76f78d2a37fa091e8e537a2e0ecca3f3e12
3/21/2024, 8:43:27 AM WebRequestSent
https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json
3/21/2024, 8:43:27 AM DotnetAcquisitionStatusRequested
8.0
3445ca21a214ca714b56fae55cefb76f78d2a37fa091e8e537a2e0ecca3f3e12
3/21/2024, 8:43:27 AM WebRequestSent
https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json
3/21/2024, 8:43:27 AM DotnetAcquisitionStatusRequested
8.0
15eb59019e4eb18477aa8e5406bbf28c22b09cc1ff36d936a31726743566167b
3/21/2024, 8:43:27 AM WebRequestSent
https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json
3/21/2024, 8:43:28 AM DotnetVersionResolutionCompleted
8.0
8.0.3
3/21/2024, 8:43:28 AM DotnetAcquisitionStatusResolved
8.0.3~arm64
8.0.3
3/21/2024, 8:43:28 AM DotnetCommandSucceeded
acquireRuntimeStatus
3/21/2024, 8:43:28 AM DotnetVersionResolutionCompleted
8.0
8.0.3
3/21/2024, 8:43:28 AM DotnetVersionResolutionCompleted
8.0
8.0.3
3/21/2024, 8:43:28 AM DotnetAcquisitionStatusResolved
8.0.3~arm64
8.0.3
3/21/2024, 8:43:28 AM DotnetAcquisitionStatusResolved
8.0.3~arm64
8.0.3
3/21/2024, 8:43:28 AM DotnetCommandSucceeded
ensureDependencies
3/21/2024, 8:43:28 AM DotnetCommandSucceeded
acquireRuntimeStatus
3/21/2024, 8:43:28 AM DotnetCommandSucceeded
acquireRuntimeStatus
3/21/2024, 8:43:28 AM DotnetCommandSucceeded
ensureDependencies
3/21/2024, 8:43:28 AM DotnetCommandSucceeded
ensureDependencies
but then I run dotnet --list-runtimes and I get this:
ms-dotnettools.vscode-dotnet-runtime » dotnet --list-runtimes
Microsoft.AspNetCore.App 7.0.0 [/Users/GFreema10/.vscode-dotnet-sdk/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.0 [/Users/GFreema10/.vscode-dotnet-sdk/.dotnet/shared/Microsoft.NETCore.App]
Any ideas?
Hm, the 'install sdk system wide' tool is for installing sdks, and you are trying to find runtimes. Based on the logs it did not ever seem to be invoked to install a global sdk, at least on this log. Instead it downloaded a local runtime. The local runtime looks like it was installed, but it might not show up with list runtimes because it is not system wide, it is just local.
Describe the bug.
I am using vs code on a mac. When I try to install a runtime using the "install the .net SDK system wide" option, it is not working. I ran for .net 6 and .net 8, and it ran the installer. When I run
dotnet --list-sdks
, however, I only see the previously installed .net 7. I restarted vs code, restarted my terminal, and still see the same.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
Enable the preview features in the .net install extension settings. Run the "install .net sdk system wide" command. Restart vs code. Go to terminal, run
dotnet --list-sdks
.Expected Behavior
I should see .net 6, 7, and 8 listed.
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.
OSX / Darwin / Mac
VS Code Version
1.82.2