OBSOLETE - see readme
Перейти к файлу
Pavel Krymets c07d6f58e4 Migrate to using System.Runtime.Loader.AssemblyLoadContext 2016-01-25 10:09:52 -08:00
build Fixing build to not fail after installing VS Update 1 2015-12-16 10:19:10 -08:00
ext/compiler/preprocess Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:30 -07:00
misc Rename AspNet 5 file contents. 2016-01-22 12:26:26 -08:00
nuspec fix System.Globalization.Extensions packaging 2015-10-09 11:53:00 -07:00
samples Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:22:11 -08:00
scripts Add MONO_THREADS_PER_CPU to dnu.sh to workaround restore timeouts on Mono 2015-09-04 05:48:34 +02:00
src Migrate to using System.Runtime.Loader.AssemblyLoadContext 2016-01-25 10:09:52 -08:00
submodules Updating FileSystem 2015-10-03 16:00:36 -07:00
test Rename AspNet 5 file contents. 2016-01-22 12:26:26 -08:00
tools Revert "Merge branch 'release' into dev" 2015-11-03 18:31:24 -08:00
.gitattributes make sh files eol=lf in gitattributes 2015-10-01 15:14:49 -07:00
.gitignore Removed dependency on RuntimeOptions class 2015-12-12 15:02:24 -08:00
.gitmodules Removed NuGet submodules and runtime rewrite projects 2015-05-20 02:17:03 -07:00
.travis.yml Small .travis.yml update: Consolidate `brew` commands under a single `if` 2015-11-17 14:52:44 -08:00
CONTRIBUTING.md Update Home master -> Home dev 2015-05-12 11:46:43 -07:00
DNX.sln Migrate to using System.Runtime.Loader.AssemblyLoadContext 2016-01-25 10:09:52 -08:00
LICENSE.txt Update LICENSE.txt and license header on files. 2015-05-01 13:46:55 -07:00
NuGet.config fix NuGet.config 2015-12-17 14:34:18 -08:00
README.md Remove AppVeyor status 2015-08-15 09:24:20 -07:00
appveyor.yml Update .travis.yml and appveyor.yml to build quietly. 2015-04-07 16:14:50 -07:00
build.cmd Fix local build break 2015-10-12 12:52:06 -07:00
build.sh React to aspnet/Universe#290 fix 2015-10-12 10:12:00 -07:00
global.json Integrating Wei's work on the new testing infrastructure #2617 2015-09-11 12:12:59 -07:00
makefile.shade Migrate to using System.Runtime.Loader.AssemblyLoadContext 2016-01-25 10:09:52 -08:00

README.md

DNX

Travis: Travis

The .NET Execution Environment contains the code required to bootstrap and run an application. This includes things like the compilation system, SDK tools, and the native CLR hosts.

Goals

  • Create a new development experience that enables a quick development workflow (change code and run)
  • Have the ability to create a cached version of your application's dependencies ("compilation")
  • Expose metadata about the runtime for others to query

Principles

  • NuGet all the things
  • There is no such thing as "design time" (blur the lines between compilation and loading)
  • Dependencies are always described as what not where (there's no such thing as a project/nuget/assembly reference)

Setting up a development environment for incremental compile

After successfully building the solution using the build script, you can create a dev symlink to the built DNX using the build dev-install command. The command creates symlinks from your user profile's DNX folder to the compiled binaries so you can do incremental builds without having to manually copy files around.

After running build dev-install and dnvm list you will see a few new runtimes ending with -dev. Those are the symlinks created by the build script:

Active Version           Runtime Architecture Location                           Alias
------ -------           ------- ------------ --------                           -----
  *    1.0.0-beta2-10735 clr     x86          C:\Users\victorhu\.dnx\runtimes default
       1.0.0-dev         clr     x64          C:\Users\victorhu\.dnx\runtimes clr-x64-dev
       1.0.0-dev         clr     x86          C:\Users\victorhu\.dnx\runtimes clr-x86-dev
       1.0.0-dev         coreclr xd64         C:\Users\victorhu\.dnx\runtimes coreclr-x64-dev
       1.0.0-dev         coreclr x86          C:\Users\victorhu\.dnx\runtimes coreclr-x86-dev
       1.0.0-dev         mono                 C:\Users\victorhu\.dnx\runtimes mono-dev

If you want to remove the symlinks, simply delete them from your user profile's DNX folder.

Initialize the submodules

This repository includes a few submodules. They need to be initialized before build.

To clone a repository and initialize all the submodules you can run:

git clone --recursive

If you have already cloned the repository without --recursive option, you can run following commands to initialize the submodules:

git submodule init
git submodule update

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