I ran into the same problem. Neither dotnet , dotnet-nightly , nor dotnet-dev worked.
But it runs directly /usr/share/dotnet/bin/corerun on the corresponding dll . This is less convenient than dotnet run , but does the job.
To simplify my life, I added an alias for my .bash_rc :
dotnet_run() { if [ $# -lt 1 ] then app=${PWD##*/} else app=$1 fi if [ ! -f $app ] then app=bin/Debug/dnxcore50/$app.dll fi echo "Running: $app" /usr/share/dotnet-dev/bin/corerun $app }
On my computer, dotnet new , dotnet restore , dotnet compile , dotnet_run worked as expected. I have not tried more complex programs.
source share