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 Remove dotnet-httprepl from the list of expected packages 2018-10-24 13:03:14 -07:00
scripts Merge release/2.1 and aspnet/WebSockets release/2.2 2018-10-17 15:47:04 -07:00
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 Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
.gitignore Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
.gitmodules Remove the aspnet/Common git submodule (#3715) 2018-10-24 12:38:03 -07:00
CONTRIBUTING.md Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
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 Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
NuGet.config Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
README.md Merge release/2.1 and aspnet/WebSockets release/2.2 2018-10-17 15:47:04 -07:00
THIRD-PARTY-NOTICES
build.cmd Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
build.sh Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
dockerbuild.sh
global.json Updating BuildTools from 2.2.0-preview2-20181019.4 to 2.2.0-preview2-20181019.5 2018-10-19 17:17:09 -07:00
korebuild-lock.txt Updating BuildTools from 2.2.0-preview2-20181019.4 to 2.2.0-preview2-20181019.5 2018-10-19 17:17:09 -07:00
korebuild.json Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
run.cmd Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
run.ps1 Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
run.sh Reorganize source code in preparation to move into aspnet/AspNetCore 2018-10-17 15:34:25 -07:00
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.