Prerequisites for .NET Core -.NET Core wiki

What software  you need to work on  .Net Core ?

We will discuss one by one Linux , macOS then Windows at the last.

Lets start the prerequisites  from Linux:

Linux

This article shows the dependencies needed to develop .NET Core applications on Linux. The supported Linux distributions/versions, and dependencies that follow apply to the two ways of developing .NET Core apps on Linux:

Supported Linux versions

.NET Core 2.0 treats Linux as a single operating system. There is a  one Linux build (per chip architecture) for supported Linux distros.

NET Core 2.0 is supported on the following Linux 64-bit (x86_64 or amd64) distributions/versions:

  • Red Hat Enterprise Linux 7
  • CentOS 7
  • Oracle Linux 7
  • Fedora 25, Fedora 26
  • Debian 8.7 or later versions
  • Ubuntu 17.04, Ubuntu 16.04, Ubuntu 14.04
  • Linux Mint 18, Linux Mint 17
  • openSUSE 42.2 or later versions
  • SUSE Enterprise Linux (SLES) 12 SP2 or later versions

See .NET Core 2.0 Supported OS Versions for the complete list of .NET Core 2.0 supported operating systems, out of support OS versions, and lifecycle policy links.

.NET Core 1.0 is supported on the following Linux 64-bit (x86_64 or amd64) distributions/versions:

  • Red Hat Enterprise Linux 7
  • CentOS 7
  • Oracle Linux 7
  • Fedora 24
  • Debian 8.2 or later versions
  • Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10*
    • Ubuntu 16.10 is supported by the latest patch release of .NET Core 1.1
  • Linux Mint 17
  • openSUSE 42.1

See .NET Core 1.0 Supported OS Versions for the complete list of .NET Core 1.0 supported operating systems, out of support OS versions, and lifecycle policy links.

Linux distribution dependency

The following are intended to be examples. The exact version and name may vary slightly on your Linux distribution of choice.

Ubuntu

Ubuntu distributions require the following libraries installed:

  • libunwind8
  • liblttng-ust0
  • libcurl3
  • 0.0
  • libuuid1
  • libkrb5
  • zlib1g
  • libicu52 (for 14.X)
  • libicu55 (for 16.X)
  • libicu57 (for 17.X)

CentOS

CentOS distributions require the following libraries installed:

  • libunwind
  • lttng-ust
  • libcurl
  • openssl-libs
  • libuuid
  • krb5-libs
  • libicu
  • zlib

For more information about the dependencies, see Self-contained Linux applications.

Installing .NET Core dependencies with the native installers

.NET Core native installers are available for supported Linux distributions/versions. The native installer requires admin (sudo) access to the server. The advantages of using a native installers is that all of the .NET Core native dependencies are installed. Native installers also install the .NET Core SDK system-wide.

On Linux, there are two installers package choices:

  • Using a feed-based package manager, such as apt-get for Ubuntu, or yum for CentOS/RHEL.
  • Using the packages themselves, DEB or RPM.

Scripting Installs with the .NET Core installer script

The dotnet-install scripts are used to perform a non-admin install of the CLI toolchain and the shared runtime. You can download the script from: https://dot.net/v1/dotnet-install.sh

The installer bash script is used in automation scenarios and non-admin installations. This scripts also reads PowerShells switches, so they can be used with the script on Linux/OS X systems.

 

 

macOS

This article shows you the supported macOS versions and ASP.NET Core dependencies that you need to develop, deploy, and run .NET Core applications on macOS machines. The supported OS versions and dependencies that follow apply to the three ways of developing .NET Core apps on a Mac: via the command-line with your favorite editor, Visual Studio Code, and Visual Studio for Mac.

.NET Core 2.0 is supported on the following versions of macOS:+

  • macOS 10.12 “Sierra” and later versions

See .NET Core 2.0 Supported OS Versions for the complete list of .NET Core 2.0 supported operating systems, out of support OS versions, and lifecycle policy links.

Download and install the ASP.NET Core SDK from .NET Downloads. If you have problems with the installation on macOS, consult the Known issues topic for the version you have installed.

 

Visual Studio for Mac

You can use any editor to develop .NET Core applications using the .NET Core SDK. However, if you want to develop .NET Core applications on a Mac in an integrated development environment, you can use Visual Studio for Mac.

.NET Core development on macOS with Visual Studio for Mac requires:

  • A supported version of the macOS operating system
  • OpenSSL (.NET Core 1.0 only; .NET Core 2.0 uses security services available natively in macOS)
  • .NET Core SDK for Mac
  • Visual Studio for Mac

 

 

windows

Windows

NET Core is supported on the following versions of :

  • Windows 7 SP1
  • Windows 8.1
  • Windows 10, Windows 10 Anniversary Update (version 1607) or later versions
  • Windows Server 2008 R2 SP1 (Full Server or Server Core)
  • Windows Server 2012 SP1 (Full Server or Server Core)
  • Windows Server 2012 R2 (Full Server or Server Core)
  • Windows Server 2016 (Full Server, Server Core, or Nano Server)

Prerequisites with Visual Studio 2017

You can use any editor to develop .NET Core applications using the .NET Core SDK. Visual Studio 2017 provides an integrated development environment for .NET Core apps on Windows.

  • To develop .NET Core 2.0 apps in Visual Studio 2017:
  1. Download and install Visual Studio 2017 version 15.3.0 or higherwith the .NET Core cross-platform development workload (in the Other Toolsets section) selected.

After the .NET Core cross-platform development toolset is installed, Visual Studio 2017 uses .NET Core 1.0 by default. Install the .NET Core 2.0 SDK to get .NET Core 2.0 support in Visual Studio 2017.

  1. Install the .NET Core 2.0 SDK.
  2. Retarget existing or new .NET Core 1.0 projects to .NET Core 2.0 using the following instructions:
    • On the Projectmenu, Choose Properties.
    • In the Target frameworkselection menu, set the value to .NET Core 2.0.

Once the .NET Core 2.0 SDK is installed, Visual Studio 2017 uses the .NET Core SDK 2.0 by default, and supports the following actions:

  • Open, build, and run existing .NET Core 1.0 projects.
  • Retarget .NET Core 1.0 projects to .NET Core 2.0, build, and run.
  • Create new .NET Core 2.0 projects.

To develop .NET Core 1.0 apps in Visual Studio, download and install Visual Studio 2017 RTM (version 15.0.26228.4) or higher with the “.NET Core cross-platform development”workload (in the Other Toolsets section) selected.

I have also build one Console Application On Visual Studio  for testing purpose.

 

visual studio 2017

 

It’s possible to use Visual Studio 2015 for .NET Core 1.0 development, but it’s not recommended for the following reasons:

  • The .NET Core tooling is a preview version, which is not supported.
  • The projects are project.json based which is deprecated.
  • For .NET Core 2.0 apps, Visual Studio 2017 version 15.3 (26730.01) or higher.

  • For .NET Core 1.0 apps, Visual Studio 2017 version 15.0 (26228.04) or higher.

Related Links :

 

Conclusion

Finally this is all about the Prerequisites to run  .Net Core On your computer. Enjoy Programming ,if i missed something please let me know.

  •  
    27
    Shares
  • 27
  •  
  •  
  •  
  •  
  •  

About the Author

Prashant Goswami

I am the blog writer who will teach how to love programming. My experience in programming is about 6 years. And i am the lover of programming , so i will make you people.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: