Skip to content

Latest commit

 

History

History
54 lines (28 loc) · 2.52 KB

netcore.md

File metadata and controls

54 lines (28 loc) · 2.52 KB

Install .NET Core

Building and packaging the agent, MUST be done with a specific version of the toolchain and .NET Core. They are changing rapidly and our build process assumes this version. We are looking into the env pulling that version.

To build, we rely on .NET Core SDK version 1.0.0-preview2-002875

Additional instructions are available here Please use the links below to download the correct version of Windows/OSX SDK files.

Win Windows

Download the archive, extract and add the new folder to the PATH dotnet-dev-win-x64.1.0.0-preview2-002875.zip

TIP: Uninstall any existing version first (Programs and Features -> Microsoft Dotnet CLI for Windows).

Apple OSX 10.11

Download the archive, extract and add the new folder to the PATH dotnet-dev-osx-x64.1.0.0-preview2-002875.tar.gz

TIP: Uninstall any existing version first by deleting the folder that contains "dotnet" command.

Linux Ubuntu 14.04

The script below downloads and extracts .Net Core in a folder ~/dotnet. Please add this folder to your PATH.

mkdir ~/dotnet  

cd ~/dotnet  

wget https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/1.0.0-preview2-002875/dotnet-dev-ubuntu-x64.1.0.0-preview2-002875.tar.gz

tar zxfv dotnet-dev-ubuntu-x64.1.0.0-preview2-002875.tar.gz

TIP: Uninstall any existing version first by listing existing packages containing "dotnet" in the name with "dpkg --get-selections | grep dotnet" and then uninstall one by one with "sudo apt-get purge dotnet_package_name".

Redhat Red Hat Enterprise Linux 7.2

The script below downloads and extracts .Net Core in a folder ~/dotnet. Please add this folder to your PATH (usually by editing ~/.bash_profile). We install several yum packages needed by .Net Core and our dev.sh script.

mkdir ~/dotnet  

cd ~/dotnet  

wget https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/1.0.0-preview2-002875/dotnet-dev-rhel-x64.1.0.0-preview2-002875.tar.gz  

tar zxfv dotnet-dev-rhel-x64.1.0.0-preview2-002875.tar.gz

sudo yum -y install libunwind.x86_64 icu git curl zip unzip