Skip to content

A repository to track efforts to produce a source tarball of the .NET Core SDK and all its components

License

Notifications You must be signed in to change notification settings

wfurt/source-build

 
 

Repository files navigation

.NET Core Build Scripts

Join the chat at https://gitter.im/dotnet/source-build

OS Release Debug
CentOS7.1 Build Status Build Status
CentOS7.1 (Tarball) Build Status Build Status
Debian8.4 Build Status Build Status
Fedora24 Build Status Build Status
OSX10.12 Build Status Build Status
RHEL7.2 Build Status Build Status
RHEL7.2 (Tarball) Build Status Build Status
RHEL7.2 (Unshared) Build Status Build Status
Ubuntu16.04 Build Status Build Status
Windows Build Status Build Status

This repository contains a set of scripts for building the .NET Core Runtime and SDK from source. The scripts were built to make it easy for anyone to build the .NET Core product.

You can use these scripts to build the .NET Core product for Windows, macOS or Linux. See Documentation for complete instructions.

Using the Scripts

The scripts are currently support only Linux at the moment. Windows and OSX are in the pipeline.

If you are building on Windows or OSX, building is possible via Docker. (https://hub.docker.com/r/microsoft/dotnet/)

Build on Linux

./build.sh

Script Users

The most common users are expected to be:

  • .NET Core contributors.
  • Linux distribution maintainers.
  • Cloud service developers.

You do not have to build the entire product to contribute to .NET Core. Often, you only need to build a single binary to test a change. There are some scenarios where building the whole product is useful, such as adding and testing a feature that requires changes to multiple repos.

What the Scripts Do

The scripts can be thought of as solving challenges that would otherwise making building the whole product difficult. The following challenges are the primary ones that developers often hit before these scripts were available.

  • .NET Core is composed of several repositories that all need to be built.
  • The .NET Core SDK generated by the build requires a specific layout in order to correctly function.
  • Most of the product is written in managed code and requires the .NET Core SDK to build. This approach is a great use of the product, but presents a boot-strapping problem for the build.

Goals

Many Linux distributions have specific rules for official packages. The rules can be summarized as two main rules: source for everything, and consistent reproducability.

A key goal of this repository was to satisfy the official packaging rules of commonly used Linux distributions, such as Fedora and Debian.

License

This repo is licensed with MIT.

About

A repository to track efforts to produce a source tarball of the .NET Core SDK and all its components

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.3%
  • Shell 0.6%
  • TypeScript 0.4%
  • CMake 0.2%
  • JavaScript 0.2%
  • PowerShell 0.1%
  • Other 0.2%