dotnet-installer/README.md
2015-10-19 21:38:27 -07:00

1.2 KiB

.NET Command Line Interface

Building/Running

  1. Run build.cmd or build.sh from the root
  2. Use artifacts/{os}-{arch}/stage2/dotnet to try out the dotnet command. You can also add artifacts/{os}-{arch}/stage2 to the PATH if you want to run dotnet from anywhere.

Notes

Right now the CLI uses DNX for NuGet restore.

Visual Studio

  • Requires VS 2015 with Web Development Tools installed to open in VS
  • Requires that you have a DNX installed (the build script should set it up for you though)
  • Compilation is not required before building, but you must run dnu restore (which comes from the DNX commands) after changing dependencies. If you add/remove dependencies in VS, it will run it for you

Visual Studio Code

A simple test

Note: The explicit --framework and --runtime switches will definitely be going away :)

  1. cd test\TestApp
  2. dotnet publish --framework dnxcore50 --runtime win7-x64