Build a. NET Core environment in Ubuntu and A. netcore environment in ubuntu
Ubuntu16.04 configure the. net core EnvironmentUbuntu 16.04 desktop: http://www.ubuntu.com/?topic this time is to use vmwareto install the system. Ps: After the system is installed, the default resolution is 800*600, which is a little small. It is very embarrassing to adjust the resolution through the interface. The confirmation button is hidden and cannot be determined. It can only be adjusted through Terminal commands: xrandroid-s 15 is about big enough. The following configuration environment references: https://www.microsoft.com/net/core#ubuntu1. Configure dotnet apt-get feedCommand: sudo sh-c 'echo "deb [arch = amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ xenial main">/etc/apt/sources. list. d/dotnetdev. list 'sudo apt-key adv -- keyserver apt-mo.trafficmanager.net -- recv-keys unzip a0893sudo apt-get update2. Install. NET Core SDKSudo apt-get install dotnet-dev-1.0.0-preview2-003121
3. initialize the program
Two files are generated under the newly created hwapp folder. Program. cs is the Program file, and Project. json is the configuration file.
4. Run
The environment is successfully set up and run!