Archlinux - ms-vscode.csharp - "Error while installing .NET Core Debugger"
See original GitHub issueFrom @vindicatorr on July 13, 2016 9:17
- VSCode Version: 1.3.1
- OS Version: Archlinux 4.6.3 - KDE 5.7.1
- Mono Version: 4.3.3
Steps to Reproduce:
-
Extract VSCode
-
mkdir test; cd test; dotnet new
-
Start VSCode and Open Folder for newly created “test”
-
Enable recommended “ms-vscode.csharp” (and restart VSCode)
Error while installing .NET Core Debugger
-
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.
Copied from original issue: Microsoft/vscode#9192
Issue Analytics
- State:
- Created 7 years ago
- Comments:23 (10 by maintainers)
Top Results From Across the Web
Archlinux - ms-vscode.csharp - "Error while installing .NET ...
Archlinux - ms-vscode.csharp - "Error while installing .NET Core Debugger" #9192 ... x64). dotnet exited with error code 1.
Read more >[SOLVED] .NET Core, unable to debug in Visual Studio Code
I'm currently trying to develop C# software with .NET Code in Visual Studio Code. I succeeded to run the code via dotnet run,...
Read more >Error while installing .NET Core Debugger on OSX
I received the same error. For me, I noticed there was an update available for the VS Code C# extension (I saw the...
Read more >Linux installation details - Visual Studio Live Share
Distributions outside of the Debian / Ubuntu or RHL trees are not officially supported by Visual Studio Code or .NET Core. Therefore, by...
Read more >VS Code and .Net Core Arch Linux Install - YouTube
If you're up and running with Arch Linux and want a Microsoft workflow you're going to want to install . Net Core and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cra0zy we will respect
ID_LIKE
so actually that will automatically work if I check for ‘arch’.Okay, I will try and get out a fix for this soon.
@gregg-miskelly this worked thnx! what i did:
for your info: /etc/OS_RELEASE#NAME=“Arch Linux” ID=arch PRETTY_NAME=“Arch Linux” ANSI_COLOR=“0;36” HOME_URL=“https://www.archlinux.org/” SUPPORT_URL=“https://bbs.archlinux.org/” BUG_REPORT_URL=“https://bugs.archlinux.org/” VERSION_ID=“2016.06.20”
VERSION_ID is actually the installed date of the OS so this has nothing to do with the actual version of Arch Linux, Arch Linux is a rolling release distro so everybody that cares a bit for their machine is actually running recent stuff.