question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.NET on Elementary OS

See original GitHub issue

Steps 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:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
dlechcommented, Mar 21, 2016

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 run dotnet 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.

1reaction
blackdwarfcommented, Mar 7, 2016

@poculeka though Elementary OS could be derived from Ubuntu, we don’t really test out CLI on anything but CentOS and Ubuntu for now.

Read more comments on GitHub >

github_iconTop 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 >
Elementary OS
The thoughtful, capable, and ethical replacement for Windows and macOS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found