Running a .NET Core application on OS X
This recipe shows how to install a .NET Core application on OS X and how to build and run a .NET console application.
Getting ready
To go through this recipe, you will need a Mac OS X operating system. There are no other prerequisites. The source code for this recipe can be found at BookSamples\Chapter11\Recipe4
.
How to do it...
To understand how to run .NET Core applications, perform the following steps:
- Install .NET Core on your OS X machine. You can visit http://dotnet.github.io/getting-started/ and follow the installation instructions there. Since .NET Core is in the pre-release stage, the installation and usage scenarios could change before this book is published. Refer to the site instructions in that case.
- After you have downloaded the
.pkg
file, hold the Control key while opening it. It will unblock the file and will allow you to install it. - After you have installed the package, you will need to install OpenSSL. The easiest way is to install the...