Installation fails on Ubuntu 16.04 x64, vccode 1.2.1, .NET Core 1.0 RTM
See original GitHub issueEnvironment data
dotnet --info
output:
.NET Command Line Tools (1.0.0-preview2-003121)
Product Information:
Version: 1.0.0-preview2-003121
Commit SHA-1 hash: 1e9d529bc5
Runtime Environment:
OS Name: ubuntu
OS Version: 16.04
OS Platform: Linux
RID: ubuntu.16.04-x64
VS Code version: 1.2.1 C# Extension version: 1.1.7
Steps to reproduce
- Install .net core 1.0 RTM, .net core tool preview 2
- Install vscode 1.2.1
- Install c# extension
Expected behavior
C# extension of vscode installed successfully
Actual behavior
C# extension fails to install
Starting 'dotnet --info'
.NET Command Line Tools (1.0.0-preview2-003121)
Product Information:
Version: 1.0.0-preview2-003121
Commit SHA-1 hash: 1e9d529bc5
Runtime Environment:
OS Name: ubuntu
OS Version: 16.04
OS Platform: Linux
RID: ubuntu.16.04-x64
Creating /home/daniel/.vscode/extensions/ms-vscode.csharp-1.1.7/coreclr-debug/project.json
Telemetry is: Enabled
log : Restoring packages for /home/daniel/.vscode/extensions/ms-vscode.csharp-1.1.7/coreclr-debug/project.json...
error: System.IO 4.1.0-rc2-24027 provides a compile-time reference assembly for System.IO on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Globalization.Calendars 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Globalization.Calendars on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Globalization 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Globalization on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Diagnostics.Tracing 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Diagnostics.Tracing on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Diagnostics.Tools 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Diagnostics.Tools on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Diagnostics.Debug 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Diagnostics.Debug on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Console 4.0.0-rc2-24027 provides a compile-time reference assembly for System.Console on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Collections 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Collections on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Diagnostics.Process 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Diagnostics.Process on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Security.Cryptography.Algorithms 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Security.Cryptography.Algorithms on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.IO.MemoryMappedFiles 4.0.0-rc2-24027 provides a compile-time reference assembly for System.IO.MemoryMappedFiles on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: Microsoft.Win32.Primitives 4.0.1-rc2-24027 provides a compile-time reference assembly for Microsoft.Win32.Primitives on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.AppContext 4.1.0-rc2-24027 provides a compile-time reference assembly for System.AppContext on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.IO.Compression 4.1.0-rc2-24027 provides a compile-time reference assembly for System.IO.Compression on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.IO.FileSystem 4.0.1-rc2-24027 provides a compile-time reference assembly for System.IO.FileSystem on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Net.Primitives 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Net.Primitives on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Net.Sockets 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Net.Sockets on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Reflection 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Reflection on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Reflection.Extensions 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Reflection.Extensions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Reflection.Primitives 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Reflection.Primitives on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Resources.ResourceManager 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Resources.ResourceManager on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Runtime 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Runtime on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Runtime.Extensions 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Runtime.Extensions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Runtime.Handles 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Runtime.Handles on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Runtime.InteropServices 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Runtime.InteropServices on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Runtime.InteropServices.RuntimeInformation 4.0.0-rc2-24027 provides a compile-time reference assembly for System.Runtime.InteropServices.RuntimeInformation on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Text.Encoding 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Text.Encoding on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Text.Encoding.Extensions 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Text.Encoding.Extensions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Threading.Tasks 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Threading.Tasks on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: System.Threading.Timer 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Threading.Timer on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
error: One or more packages are incompatible with .NETCoreApp,Version=v1.0 (ubuntu.16.04-x64).
log : Lock file has not changed. Skipping lock file write. Path: /home/daniel/.vscode/extensions/ms-vscode.csharp-1.1.7/coreclr-debug/project.lock.json
log : /home/daniel/.vscode/extensions/ms-vscode.csharp-1.1.7/coreclr-debug/project.json
log : Restore failed in 6440ms.
Error:
Errors in /home/daniel/.vscode/extensions/ms-vscode.csharp-1.1.7/coreclr-debug/project.json
Error: System.IO 4.1.0-rc2-24027 provides a compile-time reference assembly for System.IO on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
Error: System.Globalization.Calendars 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Globalization.Calendars on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Globalization 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Globalization on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Diagnostics.Tracing 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Diagnostics.Tracing on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Diagnostics.Tools 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Diagnostics.Tools on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Diagnostics.Debug 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Diagnostics.Debug on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Console 4.0.0-rc2-24027 provides a compile-time reference assembly for System.Console on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Collections 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Collections on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Diagnostics.Process 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Diagnostics.Process on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Security.Cryptography.Algorithms 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Security.Cryptography.Algorithms on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.IO.MemoryMappedFiles 4.0.0-rc2-24027 provides a compile-time reference assembly for System.IO.MemoryMappedFiles on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
Microsoft.Win32.Primitives 4.0.1-rc2-24027 provides a compile-time reference assembly for Microsoft.Win32.Primitives on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.AppContext 4.1.0-rc2-24027 provides a compile-time reference assembly for System.AppContext on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.IO.Compression 4.1.0-rc2-24027 provides a compile-time reference assembly for System.IO.Compression on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.IO.FileSystem 4.0.1-rc2-24027 provides a compile-time reference assembly for System.IO.FileSystem on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Net.Primitives 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Net.Primitives on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Net.Sockets 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Net.Sockets on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Reflection 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Reflection on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Reflection.Extensions 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Reflection.Extensions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Reflection.Primitives 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Reflection.Primitives on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Resources.ResourceManager 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Resources.ResourceManager on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Runtime 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Runtime on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Runtime.Extensions 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Runtime.Extensions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Runtime.Handles 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Runtime.Handles on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Runtime.InteropServices 4.1.0-rc2-24027 provides a compile-time reference assembly for System.Runtime.InteropServices on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Runtime.InteropServices.RuntimeInformation 4.0.0-rc2-24027 provides a compile-time reference assembly for System.Runtime.InteropServices.RuntimeInformation on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Text.Encoding 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Text.Encoding on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Text.Encoding.Extensions 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Text.Encoding.Extensions on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Threading.Tasks 4.0.11-rc2-24027 provides a compile-time reference assembly for System.Threading.Tasks on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
System.Threading.Timer 4.0.1-rc2-24027 provides a compile-time reference assembly for System.Threading.Timer on .NETCoreApp,Version=v1.0, but there is no run-time assembly compatible with ubuntu.16.04-x64.
One or more packages are incompatible with .NETCoreApp,Version=v1.0 (ubuntu.16.04-x64).
dotnet exited with error code 1
It seems that the current version of the extension still depends on RC2 packages that are not available on ubuntu 16.04 ?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:8
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Error while installing .NET Core Debugger #8206 - GitHub
same with me, i run ubuntu 16.04 just installed .net core 1.0.0 after seeing redhat devnation. here is my path /usr/local/sbin:/usr/local/bin:/ ...
Read more >Running Visual Studio Code on Linux
The easiest way to install Visual Studio Code for Debian/Ubuntu based distributions is to download and install the .deb package (64-bit), either through...
Read more >Visual studio code Installation on Ubuntu 16.04 - Stack Overflow
This issue raised on VSCode's Github was suspended stating that there wasn't any sufficient information on the issue. I managed to install ......
Read more >How do I install Visual Studio Code? - Ask Ubuntu
Old answer · Unpack the zip file in your new folder: unzip ../Downloads/VSCode-linux-x64.zip · Run the ide using ./VSCode-linux-x64/code &.
Read more >Setup ASP.NET Core 1.0 debugging on Ubuntu 16.04
But… there will be an error: The following packages have unmet dependencies: dotnet-dev-1.0 ...
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
A release is now on https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.2.0 that should address this.
We are actively working on it, and expect to have one up this week.