.NET on Elementary OS
See original GitHub issueSteps to reproduce
Install dotnet package following this tutorial in Elementary OS environment, then try running dotnet restore
Expected behavior
Downloading every dependency.
Actual behavior
List of errors like:
<library> provides a compile-time reference assembly for <library> on DNXCore,Version=v5.0, but there is no run-time assembly compatible with elementary os.0.3.2-x64
Environment data
dotnet --version
output:
.NET Command Line Tools (1.0.0-beta-001634)
Product Information: Version: 1.0.0-beta-001634 Commit Sha: N/A
I changed the /etc/os-release
string to match the Ubuntu one. Anyway, Elementary OS i Ubuntu 14.04 based, why isn’t it accepted by dotnet then?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Install .NET Core SDK on elementary OS
Get the latest version of .NET Core SDK for on elementary OS - Develop high performance applications in less time, on any platform....
Read more >Step-by-step - .NET 5.0 Elementary OS Installation Guide
The Tutorial shows you Step-by-Step How to Install Microsoft .NET 5.0 Framework in Elementary OS 0.4/5.x/6.x LTS GNU/Linux Desktops. And .NET ...
Read more >no internet connection on fresh elementary os install
after some time on pop os I recently install elementary os and i can't connect to my network, i haven't done any update....
Read more >Anybody developing with .NET Core on Elementary OS?
NET Core and Elementary OS and haven't had any issues. I was able to build and execute both standard .NET IL based binaries...
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 Free
Top 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
Elementary OS is based on Ubuntu 14.04. It just has a different desktop and core desktop apps. Anything that dotnet deals with is going to be identical to Ubuntu 14.04 other than
/etc/os-release
. So really the bug here is not that elementary OS doesn’t work, but rather that dotnet is using/etc/os-release
to determine which packages to download.It seems to me that if you install
dotnet
from a ppa, then when you rundotnet restore
it should download nuget packages that are compatible with the dotnet version that was installed and not be looking at something outside of the dotnet package to determine which nuget packages are compatible.@poculeka though Elementary OS could be derived from Ubuntu, we don’t really test out CLI on anything but CentOS and Ubuntu for now.