Git for Windows Install Here _(needed for dev sh script)
From src:
Commands:
restore
(r
): Run first time and any time you change a project.json
build
(b
): build everything
test
(t
): run unit tests
results in: Test/bin/Debug/dnxcore50/{platform}/testResults.xml
buildtest
(bt
): build and test
clean
(c
): deletes build output for each projects
layout
(l
): Creates a full layout in {root}/_layout
Does a clean, restore, build, publish and copy
Default is Debug. Passing Release as argument is supported (dev l Release)
update
(u
) {dirname}: Builds and publishes just one dir. Patches the layout
update {dirname}
Use if you change code in an assembly and don't want to wait for the full layout.
validate
(v
): Precheckin validation. Runs git clean, layout and test.
Using Visual Studio 2017
Using Visual Studio Code
We use the dotnet foundation and CoreCLR style guidelines located here