dotnet-installer/README.md

22 lines
922 B
Markdown
Raw Normal View History

2015-10-08 21:41:04 +00:00
# .NET Command Line Interface
## Building/Running
1. Run `build.cmd` or `build.sh` from the root
2. Use `scripts/dotnet` to try out the `dotnet` command.
## Notes
Right now the CLI uses [DNX](https://github.com/aspnet/dnx) as an application host. Eventually it will become self-hosted, but for now that means a few things:
* 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
2015-10-08 21:49:39 +00:00
## A simple test (windows only for now)
Note: The explicit `--framework` and `--runtime` switches will definitely be going away :)
1. `cd test\TestApp`
2. `..\..\scripts\dotnet run --framework dnxcore50 --runtime win7-x86`