-
Couldn't load subscription status.
- Fork 727
Closed
Labels
Description
Environment data
VS Code version: 1.31.0
C# Extension version: 1.17.1 (offline build)
Steps to reproduce
- Follow the steps to build an offline VSIX package
- Install the resulting VSIX in VS Code on a computer with no internet connection
- Open VS Code
- 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.