Update README.md

This commit is contained in:
David Fowler 2015-10-19 01:47:45 -07:00
parent e2c1973dca
commit 1056577f02

View file

@ -3,22 +3,27 @@
## Building/Running ## Building/Running
1. Run `build.cmd` or `build.sh` from the root 1. Run `build.cmd` or `build.sh` from the root
2. Use `scripts/dotnet` to try out the `dotnet` command. 2. Use `artifacts/{os}-{arch}/state2/dotnet` to try out the `dotnet` command. You can also add `artifacts/{os}-{arch}/state2` to the PATH if you want to run `dotnet` from anywhere.
## Notes ## 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: Right now the CLI uses [DNX](https://github.com/aspnet/dnx) for NuGet restore.
## Visual Studio
* Requires VS 2015 with Web Development Tools installed to open in VS * Requires VS 2015 with Web Development Tools installed to open in VS
* Beta7 is available here and should work: https://www.microsoft.com/en-us/download/details.aspx?id=48738&fa43d42b-25b5-4a42-fe9b-1634f450f5ee=True * Beta8 is available here and should work: http://www.microsoft.com/en-us/download/details.aspx?id=49442
* Install `WebToolsExtensionsVS14.msi` and `DotNetVersionManager-x64.msi` * Install `WebToolsExtensionsVS14.msi` and `DotNetVersionManager-x64.msi`
* There are also more recent builds available here: `\\vwdbuild01\Drops\WTE\Release.Nightly\Dev14\Latest-Successful\Release\Signed\MSI` (run `InstallWTE.cmd`)
* Requires that you have a DNX installed (the build script _should_ set it up for you though) * 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 * 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
## A simple test (windows only for now) ## Visual Studio Code
* You can also use Visual Studo code https://code.visualstudio.com/
## A simple test
Note: The explicit `--framework` and `--runtime` switches will definitely be going away :) Note: The explicit `--framework` and `--runtime` switches will definitely be going away :)
1. `cd test\TestApp` 1. `cd test\TestApp`
2. `..\..\scripts\dotnet run --framework dnxcore50 --runtime win7-x86` 2. `dotnet publish --framework dnxcore50 --runtime win7-x64`