To show the cross-platform feature of .NET Core, let's set up a .NET Core development environment on Ubuntu 17.04 desktop version. Before installing Visual Studio Code, let's install .NET Core on the Ubuntu OS. First, you need to do a one-time registration of the Microsoft Product feed, which is done by registering the Microsoft signature key before adding the Microsoft Product feed to the system:
- Launch the system terminal and run the following commands to register the Microsoft signature key:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpgsudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
- Register the Microsoft Product feed with this command:
sudo sh -c 'echo ...