Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Could not resolve coreclr" path on Ubuntu 14.04

TL;DR

I'm following the documentation at http://dotnet.github.io/getting-started/ for Ubuntu 14.04.

When I run dotnet run it outputs Could not resolve coreclr path and it immediatly exit with non zero return code, and I can't find in the documentation what I'm supposed to do.

More details

  • Actually, something unexpected occured before that: even though I added deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ trusty main to my sources, there's not dotnet package. However there's a dotnet-dev package, so it's this package I actually installed.

  • When I run dotnet new, dotnet restore, or dotnet compile, everything seems ok.

  • When I run locate coreclr I find several files which my match. In particular there's a /usr/share/dotnet-dev/runtime/coreclr directory with several .dlls and .sos in it. There's also a $HOME/.dnx/packages/runtime.ubuntu.14.04-x64.Microsoft.NETCore.Runtime.CoreCLR/1.0.1-rc2-23616/runtimes/ubuntu.14.04-x64/native/libcoreclr.so file

like image 807
gturri Avatar asked Oct 19 '22 17:10

gturri


1 Answers

Use dotnet-nightly. I just tried, it is still working. dotnet is not installing and dotnet-dev is broken.

Source: http://apt-mo.trafficmanager.net/repos/dotnet/dists/trusty/main/binary-amd64/Packages

like image 86
Giovanni Bassi Avatar answered Oct 21 '22 06:10

Giovanni Bassi