24 May 2016

DotNet Command Line Tools

DNVM

.NET Version Manager (https://github.com/aspnet/dnvm)
  • Install: PowerShell:
    @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
  • Update: dnvm upgrade

DNX

.NET Execution Environment
  • Pre-requisit: DNVM
  • Install: dnvm upgrade -r clr

DNU

DNX Utility (dnu) package manager.
  • Install: Installed with DNVM
  • Update: See DNVM
  • Manage packages:
    • List installed: dnu list
    • Restore: dnu restore
    • Build project: dnu build

Build

  • MSBuild: nuget.exe restore | C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild /p:Configuration=Release /p:VisualStudioVersion=14.0

Run

  • dnvm upgrade
  • dnu restore
  • dnx web

No comments:

Post a Comment