Skip to content

Instantly share code, notes, and snippets.

@miseeger
Created March 25, 2016 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miseeger/5bb91da39ad08370f4bd to your computer and use it in GitHub Desktop.
Save miseeger/5bb91da39ad08370f4bd to your computer and use it in GitHub Desktop.
Batchfile to use dotnet commandline before ASP.NET CORE RC2
@echo off
if "%1" == "run" goto run
if "%1" == "publish" goto publish
if "%1" == "compile" goto compile
if "%1" == "restore" goto restore
if "%1" == "install" goto install
if "%1" == "list" goto list
:run
@dnx web
goto end
:publish
@dnu publish %2 %3
goto end
:compile
@dnu build %2 %3
goto end
:restore
@dnu restore
goto end
:install
dnu install %2 %3
goto end
:list
@dnvm list
:end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment