Error installing .net kernel on Mac OS and Ubuntu

I follow the steps here: http://dotnet.imtqy.com/getting-started/

But always get the error as shown below:

MAC OS

Unhandled exception: System.IO.FileNotFoundException: Failed to load file or assembly "System.Console, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" or one of its dependencies. The system cannot find the specified file.

On Ubuntu 14.04 LTS

Unhandled exception: System.IO.FileNotFoundException: Failed to load file or assembly "System.IO, Version = 4.0.10.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" or one of its dependencies. The system cannot find the specified file.

in System.Console.WriteLine (string value)

in HelloWorldSample.Program.Main ()

+6
source share
1 answer

It looks like you skipped the dotnet restore step. If not, check for errors that occurred during this step. This is what pulls extra packages through NuGet.

Unlike previous versions of the .NET Framework, in which all assemblies were sent together, .NET Core is very modular, and your project will only pull the ones it needs.

+1
source

All Articles