Since my last post the name has been changed to ASP.NET Core 1.0.
Starting over to use the latest & greatest I uninstalled the previous packages in Ubuntu
I then Installed the Debian package from
I downloaded the latest samples from David Fowler
https://github.com/aspnet/cli-samples
Currently the HelloWeb code isn’t restoring for me (Unable to restore Microsoft.AspNetCore.Server.Kestrel), I assume this is because of as this moment the Ubuntu code isn’t building according to the CLI page above.
Instead, if I use my previous simple console app from here, and change the project.json to
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"dependencies": {
"NETStandard.Library": "1.0.0-*"
},
"frameworks": {
"dnxcore50": { }
}
}
And then change to the project directory and restore using the latest bits
dotnet restore -s https://myget.org/f/dotnet-core
It will build and run.
OR
LOGIN OR REGISTER
Registered users with one approved comment can comment without moderation