Installing DNVM =============== You need DNVM as a starting point. DNVM enables you to acquire a (or multiple) .NET Execution Environment (DNX). DNVM is simply a script, which doesn't depend on .NET. You can install it via a PowerShell command. You can find alternate DNVM install instructions at the [ASP.NET Home repo](https://github.com/aspnet/home). λ» @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}" You must close your command-prompt and start a new one in order for the user-wide environment variables to take effect. You can see the currently installed DNX versions with `dnvm list`, which will display an empty set of installed runtimes. λ» dnvm list Installing a .NET Core DNX ========================== It's easy to install the latest .NET Core-based DNX, using the `dnvm install` command. The `-u` (or `-Unstable`) parameter installs latest unstable version. λ» dnvm install -r coreclr latest -u This will install the 32-bit version of .NET Core. If you want the 64-bit version, you can specify processor architecture: λ» dnvm install -r coreclr -arch x64 latest -u You can see the currently installed DNX versions with `dnvm list` (your display may vary as new versions of the DNX are published): λ» dnvm list ``` Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- 1.0.0-beta7-12364 coreclr x86 C:\Users\rlander\.dnx\runtimes 1.0.0-beta7-12364 coreclr x64 C:\Users\rlander\.dnx\runtimes ``` You can choose which of these DNXs you want to use with `dnvm use`, with similar arguments. ``` λ» dnvm use -r coreclr -arch x86 1.0.0-beta7-12364 Adding C:\Users\rlander\.dnx\runtimes\dnx-coreclr-win-x86.1.0.0-beta7-12364\bin to process PATH λ» dnvm list Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- * 1.0.0-beta7-12364 coreclr x86 C:\Users\rlander\.dnx\runtimes 1.0.0-beta7-12364 coreclr x64 C:\Users\rlander\.dnx\runtimes ``` This is an initial attempt to build fsharp.core for the coreclr: Build FSharp.Core for .NET CoreCLR ========================== fetch the DotNet buildtools using: λ» .nuget\NuGet.exe restore packages.config -PackagesDirectory packages To build and pull in the corefx assemblies for nuget build coreclr using this command: λ» msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr /t:Rebuild /p:RestorePackages=true otherwise build fsharp.core like this: λ» msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr