Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Offline VSIX omits Roslyn Copilot and VSWebAssemblyBridge dependencies

オープン
#9,696 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@dibarbet がすでに取り組んでいます。

2026年10月28日 から。

  • #9923 @dibarbet による — オープン

評価

難易度
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 の本文から書いたものです。

説明

Bug Documentation Installation Needs More Info

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)

  1. 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.
  2. 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
  3. Install dotnet sdk 10.0.400 https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.400/dotnet-sdk-10.0.400-win-x64.exe
  4. 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
  5. 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
  6. 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.
  7. Disconnect network and restart VSCode
  8. 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.
  9. Try to create a new .Net Project (template: Console app) still without internet connection.
  10. 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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/vscode-csharp のほかの issue

dotnet/vscode-csharp の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。