This recipe describes what is needed to prepare a development environment for working with .NET Core. Thankfully, there is very little work required to getting a development environment working.
To install the .NET Core SDK, follow the instructions at the Official Microsoft Site.
Install Visual Studio Code by following the instructions at the Official Visual Studio Code Site.
Ensure that you’ve been able to install the C# plugin for Visual Studio from the Marketplace. If your workstation is prevented from using the marketplace, then consult a team leader for information on how to obtain a copy of the extension internally.
To verify your environment, make sure that you can do the following:
cd
to a new, empty directorydotnet new
commanddotnet restore
commanddotnet run
, and ensure that you see the “Hello world” output from a properly executed console application.cd
to the root of one of your drives and type dotnet --version
, ensure that you have the right version of the SDK and that you don’t have any errors.