Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archlinux - ms-vscode.csharp - "Error while installing .NET Core Debugger" #9192

Closed
vindicatorr opened this issue Jul 13, 2016 · 1 comment
Closed

Comments

@vindicatorr
Copy link

  • VSCode Version: 1.3.1
  • OS Version: Archlinux 4.6.3 - KDE 5.7.1
  • Mono Version: 4.3.3

Steps to Reproduce:

  1. Extract VSCode

  2. mkdir test; cd test; dotnet new

  3. Start VSCode and Open Folder for newly created "test"

  4. Enable recommended "ms-vscode.csharp" (and restart VSCode)

    Error while installing .NET Core Debugger
    
  5. View Log

    ...
    Creating /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.json
    Telemetry is: Enabled
    
    log  : Restoring packages for /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.json...
    
    error: System.IO 4.1.0 provides a compile-time reference assembly for System.IO on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with arch.-x64.
    ...
    log  : Writing lock file to disk. Path: /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.lock.json
    
    log  : /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.json
    log  : Restore failed in 2012ms.
    
    Error: 
    Errors in /home/username/.vscode/extensions/ms-vscode.csharp-1.2.2/coreclr-debug/project.json
    
    Error:     System.IO 4.1.0 provides a compile-time reference assembly for System.IO on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with arch.-x64.
    ...
    System.Threading.Timer on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with arch.-x64.
    One or more packages are incompatible with .NETCoreApp,Version=v1.0 (arch.-x64).
    
    dotnet exited with error code 1
    

That is only part of the issue. The other part relates to omnisharp which I think I'll be submitting to their repository.

@weinand
Copy link
Contributor

weinand commented Jul 13, 2016

This issue was moved to dotnet/vscode-csharp#564

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants