Offline VSIX omits Roslyn Copilot and VSWebAssemblyBridge dependencies
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript, vscode
- Ambito
- devtools
Direzione di ricerca
Inizia da docs/Installing-without-Internet-connectivity.md e dal package.json dell’estensione, quindi riproduci l’installazione offline della VSIX usando le versioni elencate dell’estensione C#. Traccia come vengono ottenuti i pacchetti Roslyn Copilot e VSWebAssemblyBridge e verifica che una VSIX offline appena installata possa creare un progetto .NET senza accesso alla rete.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Environment data
dotnet --info output:
.NET SDK:
Version: 10.0.400
Commit: 14fbf8d527
Workload version: 10.0.400-manifests.330ea142
MSBuild version: 18.9.6+14fbf8d52
Laufzeitumgebung:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.400\
Installierte .NET-Workloads:
Es sind keine installierten Workloads zum Anzeigen vorhanden.
Für die Verwendung von workload sets bei der Installation neuer Manifeste konfiguriert.
Es sind keine Workloadsätze installiert. Führen Sie „dotnet workload restore“ aus, um einen Workloadsatz zu installieren.
Host:
Version: 10.0.11
Architecture: x64
Commit: e2f47b0110
.NET SDKs installed:
10.0.400 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 10.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
VS Code version: Tested with 1.134 win32-x64 zip version
C# Extension version: ms-dotnettools.csharp-2.140.9-win32-x64.vsix
C# logs
C# output window contents:
2026-08-21 21:11:09.376 [info] Installing C# dependencies...
2026-08-21 21:11:09.376 [info]
2026-08-21 21:11:09.376 [info] Platform: win32, x86_64
2026-08-21 21:11:09.376 [info]
2026-08-21 21:11:09.376 [info] Downloading package 'Language server for Roslyn Copilot integration'
2026-08-21 21:11:09.838 [info] Failed at stage: downloadPackage
2026-08-21 21:11:09.839 [info] Error: getaddrinfo ENOTFOUND roslyn.blob.core.windows.net
2026-08-21 21:11:09.839 [info]
2026-08-21 21:11:09.895 [info] Downloading package 'VSWebAssemblyBridge (Platform Agnostic)'
2026-08-21 21:11:09.942 [info] Failed at stage: downloadPackage
2026-08-21 21:11:09.942 [info] Error: getaddrinfo ENOTFOUND vsdebugger.blob.core.windows.net
2026-08-21 21:11:09.942 [info]
2026-08-21 21:11:09.960 [info] C# Extension activated in limited mode due to workspace trust not being granted.
Steps to reproduce
Follow https://github.com/dotnet/vscode-csharp/tree/main/docs/Installing-without-Internet-connectivity.md commit f76cda2 (exception: newest dotnet-sdk 10 used)
- You'll have the same issue with the Mac and probably with the Linux version (being dependend on other platform agnostic downloads), but following I only documented the issue with the Windows x64 VSIX, so you would have to use other download links.
- Use a "clean" Windows system (no dotnet core, VS Code ever installed and no roaming profiles) - you probably simply could download the VSIX, uninstall vscode-csharp, disconnect network, restart VS Code and try to reinstall, but these are the steps done with a clean Windows system
- Install dotnet sdk 10.0.400 https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.400/dotnet-sdk-10.0.400-win-x64.exe
- Download VSCode-win32-x64-1.134.0 in the zip version https://vscode.download.prss.microsoft.com/dbazure/download/stable/110a328ea54b42367b803ec53ee0bf52ef26b419/VSCode-win32-x64-1.134.0.zip
- Unpack it and search in the extension window for C#, C# Dev Kit and .NET Install Tool and use the right mouse click to download the VSIX for Windows 64 bit
- You should now have ms-dotnettools.csharp-2.140.9-win32-x64.vsix, ms-dotnettools.csdevkit-3.20.199-win32-x64.vsix, ms-dotnettools.vscode-dotnet-runtime-3.1.0.vsix.
- Disconnect network and restart VSCode
- Drag the downloaded VSIX one after the other (.NET Install Tool, C#, C# Dev Kit) into the extension window to install them and let the install procedure finish before moving ahead to the next VSIX.
- Try to create a new .Net Project (template: Console app) still without internet connection.
- As .vscode\extensions\ms-dotnettools.csharp-2.140.9 has an empty .roslynCopilot and .vswebassemblybridge folder it won't work, because the dependencies are missing.
Expected behavior
The VSIX should contain the obviously necessary runtime dependencies for "Language Server for Roslyn Copilot integration" in .roslynCopilot and "VSWebAssemblyBridge (Platform Agnostic)" in .vswebassemblybridge out of the box (or depend on another pre-downloadable VSIX for them) to be able to install without internet connectivity or it should be documented how to precache the downloaded zip files, so that the VSIX can find them locally and install them without internet connectivity.
Actual behavior
.roslynCopilot and .vswebassemblybridge are empty and according to package.json the packages seems to depend on internet connectivity for the download of https://roslyn.blob.core.windows.net/releases/Microsoft.VisualStudio.Copilot.Roslyn.LanguageServer-18.3.72-alpha.zip
and
https://vsdebugger.blob.core.windows.net/vswebassemblybridge-9-0-705702/vswebassemblybridge.zip
- Lingua principale
- TypeScript
- Stelle
- 3.1k
- Fork
- 741
- Merge medio
- 23h 58m
- PR unite (30g)
- 49
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dotnet/vscode-csharp
-
Remove temporary .NET 11 CI container digest pinForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. ApertaInfrastructure Test
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
dotnet/vscode-csharp#9791 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Debugger untriaged
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
dotnet/vscode-csharp#9891 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Debugger untriaged
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
dotnet/vscode-csharp#9890 ·
I maintainer di solito rispondono entro 1 giorno
-
C#DK Debugger untriaged
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
dotnet/vscode-csharp#9889 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Quick fix 'Change namespace' missing in preview versionForse già presa @dibarbet l’ha presa oggi. Apertauntriaged
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
dotnet/vscode-csharp#9885 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di dotnet/vscode-csharp
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
simkimsia/netlify-axi#19 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
subhranshudash13-dotcom/Contribo#74 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement frontend good first issue Stellar Wave trivial
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Godgift-care/sci-healthcare-frontend#166 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
backend good first issue security Stellar Wave trivial
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Godgift-care/sci-healthcare-backend#171 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno