Bea*_*eat 2 c# omnisharp visual-studio-code
我正在尝试为 Visual Studio Code(由 OmniSharp 提供支持)安装 VSCode 扩展C#,但没有成功。在VSCode的输出选项卡中,我收到以下错误:
Updating C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' Retrying from 'https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.26.3.zip' Downloading package '.NET Core Debugger (Windows / x64)' Retrying from 'https://vsdebugger.blob.core.windows.net/coreclr-debug-1-13-0/coreclr-debug-win7-x64.zip'
Installing package 'OmniSharp for Windows (.NET 4.6 / x64)'
Failed at stage: installPackages
Error: end of central directory record signature not found
Finished
Run Code Online (Sandbox Code Playgroud)
根据我在omnisharp-vscodeGitHub 页面上找到的相关问题:
并知道我背后的企业代理,我不得不设置的http.proxy设置中vscode一样,在我的vscode用户设置:
{
"http.proxy": "<my-proxy-uri>" // e.g. http://1.2.3.4:55,
}
Run Code Online (Sandbox Code Playgroud)