Go to file
Nate McMaster 968df9578b
Refactor shared framework projects targets and project layout (#3703)
This refactors the targets used to build the shared framework and its .zip files. There are lots of reasons motivating this: Arcade convergence, migration to VSTS, making it easier to build this locally, etc.

Changes:
* Moves move content of build/Sharedfx.{props/targets} into eng/targets/SharedFx.Common.{props/targets}
* Update the build to produce a `runtime.$rid.Microsoft.AspNetCore.App` package (not just the one with symbols in it)
* Refactor the targets which produce .tar.gz/.zip files into separate projects in `src/Installers/`
* Refactor installers, unit tests, and the framework projects to use ProjectReference to flow dependencies between different parts of the build.
* Makes it easier to build the shared framework locally (for the inner dev loop, you can run `dotnet build -p src/Framework/Microsoft.AspNetCore.App/src/ -r win-x64`)
2018-10-24 15:42:06 -07:00
.azure/pipelines Refactor shared framework projects targets and project layout (#3703) 2018-10-24 15:42:06 -07:00
.vscode
build Refactor shared framework projects targets and project layout (#3703) 2018-10-24 15:42:06 -07:00
docs
eng Refactor shared framework projects targets and project layout (#3703) 2018-10-24 15:42:06 -07:00
modules
scripts
src Refactor shared framework projects targets and project layout (#3703) 2018-10-24 15:42:06 -07:00
test/Cli.FunctionalTests Refactor shared framework projects targets and project layout (#3703) 2018-10-24 15:42:06 -07:00
.editorconfig Refactor shared framework projects targets and project layout (#3703) 2018-10-24 15:42:06 -07:00
.gitattributes
.gitignore
.gitmodules
CONTRIBUTING.md
Directory.Build.props Refactor shared framework projects targets and project layout (#3703) 2018-10-24 15:42:06 -07:00
Directory.Build.targets Refactor shared framework projects targets and project layout (#3703) 2018-10-24 15:42:06 -07:00
LICENSE.txt
NuGet.config
README.md
THIRD-PARTY-NOTICES
build.cmd
build.sh
dockerbuild.sh
global.json
korebuild-lock.txt
korebuild.json
run.cmd
run.ps1
run.sh
version.props Refactor shared framework projects targets and project layout (#3703) 2018-10-24 15:42:06 -07:00

README.md

ASP.NET Core

Build infrastructure used to produce the whole ASP.NET Core stack.

Released Builds

ASP.NET Core Runtime Store

The runtime store can be downloaded from here.

NuGet packages

All published ASP.NET Core packages can be found on https://www.nuget.org/profiles/aspnet.

Commonly referenced packages:

Package NuGet.org
Microsoft.AspNetCore.App
Microsoft.AspNetCore

Daily builds

NuGet packages

Packages can be found on https://dotnet.myget.org/gallery/dotnet-core. This feed may include packages that will not be supported in a officially released build.

Commonly referenced packages:

Package MyGet
Microsoft.AspNetCore.App
Microsoft.AspNetCore

ASP.NET Core Shared Framework

Platform Latest (dev branch)
release/2.2
release/2.1
Channel name1 master release/2.2 release/2.1
Windows (x64) Installer (exe)
Archive (zip)
Installer (exe)
Archive (zip)
Installer (exe)
Archive (zip)
Windows (x86) Installer (exe)
Archive (zip)
Installer (exe)
Archive (zip)
Installer (exe)
Archive (zip)
macOS (x64) Archive (tar.gz) Archive (tar.gz) Archive (tar.gz)
Linux (x64)
(for glibc based OS - most common)
Archive (tar.gz) Archive (tar.gz) Archive (tar.gz)
Linux (x64 - musl)
(for musl based OS, such as Alpine Linux)
Archive (tar.gz) Archive (tar.gz) Archive (tar.gz)
Linux (arm32) Archive (tar.gz) Archive (tar.gz) Archive (tar.gz)
Debian/Ubuntu (x64) Installer (deb) Installer (deb) Installer (deb)
RedHat/Fedora (x64) Installer (rpm) Installer (rpm) Installer (rpm)

1 For use with the -Channel argument in dotnet-install.ps1/sh.

Building from source

git clone --recursive https://github.com/aspnet/AspNetCore.git
cd AspNetCore
./build.cmd

Useful properties and targets

Property Purpose Example
SkipTests Only build repos, don't run the tests. /p:SkipTests=true
TestOnly Don't package or verify things. /p:TestOnly=true
KOREBUILD_REPOSITORY_INCLUDE A list of the repositories to include in build (instead of all of them). $env:KOREBUILD_REPOSITORY_INCLUDE='Antiforgery;CORS'
KOREBUILD_REPOSITORY_EXCLUDE A list of the repositories to exclude from build (all the rest will be built). $env:KOREBUILD_REPOSITORY_EXCLUDE='EntityFramework'

More info

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.