vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

not working offline

Open alex-jitbit opened this issue 4 months ago • 4 comments

The extension refuses to work offline. Even after an online session that's supposed to download/install/update everything, like described in the wiki.

This is really frustrating, I was hoping to work on a plane, and was unable to. No intellisense, no "go to definition", some syntax highlight is broken, etc

C# logs

C# output window contents:

2025-06-03 10:58:39.401 [info] Locating .NET runtime version 9.0.1
2025-06-03 10:58:40.163 [info] Did not find .NET 9.0.1 on path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtime

C# output window contents WHEN ONLINE (working properly):

2025-06-03 11:03:15.646 [info] Locating .NET runtime version 9.0.1
2025-06-03 11:03:16.411 [info] Did not find .NET 9.0.1 on path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtime
2025-06-03 11:03:16.796 [info] Dotnet path: /Users/XXXXX/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/9.0.5~arm64~aspnetcore/dotnet
2025-06-03 11:03:16.796 [info] Activating C# + C# Dev Kit...
2025-06-03 11:03:17.030 [info] [stdout] {"pipeName":"/var/folders/yp/y3q9qgyj7ld4ncl4jkxs4qm40000gn/T/00dcfa55.sock"}

2025-06-03 11:03:17.030 [info] received named pipe information from server
2025-06-03 11:03:17.030 [info] client has connected to server
2025-06-03 11:03:17.072 [info] [Info  - 11:03:17 AM] [Program] Language server initialized

Steps to reproduce

  1. Disable WiFi
  2. Open C# project folder in VSCode

Additional context

I'm on a Mac M3, with only .NET 8 SDK installed

alex-jitbit avatar Jun 03 '25 08:06 alex-jitbit