Skip to content

Offline package tries to download Razor Language Server #2843

@Herohtar

Description

@Herohtar

Environment data

VS Code version: 1.31.0
C# Extension version: 1.17.1 (offline build)

Steps to reproduce

  1. Follow the steps to build an offline VSIX package
  2. Install the resulting VSIX in VS Code on a computer with no internet connection
  3. Open VS Code
  4. Open a C# file

Expected behavior

VS Code should load the C# file without trying to download any packages.

Actual behavior

C# output opens with the following output:

Installing C# dependencies...
Platform: win32, x86_64

Downloading package 'Razor Language Server (Windows / x64)' Failed at stage: downloadAndInstallPackages
Error: getaddrinfo ENOTFOUND download.visualstudio.microsoft.com download.visualstudio.microsoft.com:443

Other info

I've tried changing the Razor: Disabled setting to true, but even then it still tries to download Razor when VS Code opens a C# file.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions