-
Notifications
You must be signed in to change notification settings - Fork 376
Open
Description
Describe the bug.
C# extension does dot work offline and it is caused by this extension. I can't code on a plane. "Go to definition" not working, no intellisense, no tooltips - nothing.
C# extension output
2025-10-05 13:41:42.734 [info] Locating .NET runtime version 9.0.1
2025-10-05 13:41:42.858 [info] Did not find .NET 9.0.1 on path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtimeStatus bar has red error message "Error acquiring .NET!"
Extensions host output
2025-10-05 13:52:14.027 [error] Error: No internet connection detected: Cannot install .NET
at v.next (/Users/jazz/.vscode/extensions/vscode-dotnet-runtime-library/dist/Utils/WebRequestWorkerSingleton.js:116:42)
at Generator.next (<anonymous>)Why it can't use the .NET I already have and that I successfully used 10 minutes ago when I was still online?
Please attach log file(s) here if you have any.
(log included above)
Reproduction Steps
Disable wifi, try coding in c#
Expected Behavior
should work
Exceptions & Errors (if any)
No response
.NET Install Tool Version
2.3.7
Your operating system? Please provide more detail, such as the version and or distro above.
OSX / Darwin / Mac
VS Code Version
No response