GithubHelp home page GithubHelp logo

darioajr / dnx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aspnet/dnx

0.0 2.0 0.0 19.68 MB

The DNX (a .NET Execution Environment) contains the code required to bootstrap and run an application, including the compilation system, SDK tools, and the native CLR hosts.

License: Other

Batchfile 0.03% Shell 5.43% C# 37.52% HTML 0.01% PowerShell 0.01% Makefile 0.08% C++ 53.45% C 0.19% CMake 0.29% Python 2.99%

dnx's Introduction

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.

dnx's People

Contributors

akoeplinger avatar alxandr avatar analogrelay avatar billhiebert avatar brennanconroy avatar bricelam avatar chengtian avatar damianedwards avatar davidfowl avatar dougbu avatar eilon avatar ellismg avatar gfraiteur avatar giggio avatar glennc avatar grabyourpitchforks avatar graemechristie avatar halter73 avatar jhawk42 avatar jrieken avatar kirthik avatar lmeyer2 avatar lodejard avatar loudej avatar maxwe11 avatar nguerrera avatar ntaylormullen avatar pranavkm avatar rynowak avatar troydai avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.