【问题标题】:Cannot install dependencies for C# extension, code-oss无法安装 C# 扩展、code-oss 的依赖项
【发布时间】:2021-10-08 18:58:02
【问题描述】:

无法为 vscode 安装 C# 包

Installing C# dependencies...
Platform: linux, x86_64, name=manjaro, version=unknown

Downloading package '.NET Core Debugger (linux / x64)' Failed to download from https://github.com/Samsung/netcoredbg/releases/download/1.2.0-825/netcoredbg-linux-amd64.tar.gz. Error code '404')
    Retrying from 'https://web.archive.org/web/20210704184708/https://github-releases.githubusercontent.com/113926796/fc5bfc00-dc3b-11eb-8d47-f99c4dc1c4c6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210704%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210704T184708Z&X-Amz-Expires=300&X-Amz-Signature=521e3d193946f1cd4598e55056b7597497e294322daa6827f3bf84d1be4e1d89&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=113926796&response-content-disposition=attachment%3B%20filename%3Dnetcoredbg-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream' (NaN KB) Done!
Installing package '.NET Core Debugger (linux / x64)'

Failed at stage: installPackage
C# Extension was unable to install its dependencies. Please check your internet connection. If you use a proxy server, please visit https://aka.ms/VsCodeCsharpNetworking

【问题讨论】:

  • 在 oss 代码中在 arch linux 上遇到同样的问题

标签: c# visual-studio-code omnisharp


【解决方案1】:

找到原因了,因为 OSS 只允许完全开源的扩展等,所以没有完整的市场。 所以你必须对 json 进行更改

自从你使用 manajaro 以来,任何方式都有一个 aur 可以注入一小段代码here

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-11-23
    • 2016-02-06
    • 2020-05-26
    • 1970-01-01
    • 2021-05-29
    • 2018-09-11
    • 2018-05-30
    • 1970-01-01
    相关资源
    最近更新 更多