Offline VSIX omits Roslyn Copilot and VSWebAssemblyBridge dependencies
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript, vscode
- 領域
- devtools
調査の方向性
docs/Installing-without-Internet-connectivity.md と拡張機能の package.json から始め、記載されている C# 拡張機能のバージョンを使ってオフラインでの VSIX インストールを再現します。Roslyn Copilot パッケージと VSWebAssemblyBridge パッケージがどのように取得されるかを追跡し、新しくインストールしたオフライン VSIX でネットワークアクセスなしに .NET プロジェクトを作成できることを確認します。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 3.1k
- フォーク
- 741
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 56
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/vscode-csharp のほかの issue
-
Remove temporary .NET 11 CI container digest pin再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンInfrastructure Test
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
dotnet/vscode-csharp#9791 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Bug C#DK
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
dotnet/vscode-csharp#9910 ·
メンテナーはふだん 1 日以内に返信
-
aオープンC#DK untriaged
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
dotnet/vscode-csharp#9901 ·
メンテナーはふだん 1 日以内に返信
-
Debugger untriaged
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
dotnet/vscode-csharp#9891 · コメント 9 件 ·
メンテナーはふだん 1 日以内に返信
-
Debugger untriaged
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
dotnet/vscode-csharp#9890 ·
メンテナーはふだん 1 日以内に返信
dotnet/vscode-csharp の issue をすべて見る
似ている issue
-
area:plugins area:security area:skills bug has repro
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
anthropics/claude-code#105911 ·
メンテナーはふだん 1 日以内に返信
-
openspec-apply-change skill: when blocked, may select a ready artifact unrelated to missingArtifactsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Fission-AI/OpenSpec#2165 ·
メンテナーはふだん 1 日以内に返信
-
🐞 bug 🧐 unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Tencent/tdesign-vue-next#7032 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
gnosis/gnosis_vpn#661 ·
メンテナーはふだん 1 日以内に返信
-
content-freshness: staleOwnedContent doc comments still say 'complete receipt' (follow-up to #7912)オープンtriage:bug-verified
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信