Created
August 15, 2017 11:49
-
-
Save solrevdev/7bab3c2cf09d2f036aa41f8fc3d0669e to your computer and use it in GitHub Desktop.
vscode tasks to run and watch .net core apps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Microsoft.DotNet.Watcher.Tools | |
{ | |
"version": "0.1.0", | |
"command": "dotnet", | |
"isShellCommand": true, | |
"args": [], | |
"tasks": [ | |
{ | |
"taskName": "build", | |
"args": [ | |
"${workspaceRoot}/web/web.csproj" | |
], | |
"isBuildCommand": true, | |
"problemMatcher": "$msCompile" | |
}, | |
{ | |
"taskName": "watch", | |
"suppressTaskName": true, | |
"options": { | |
"env": { | |
"ASPNETCORE_ENVIRONMENT": "Development" | |
}, | |
"cwd": "${workspaceRoot}/web" | |
}, | |
"command": "dotnet", | |
"args": [ | |
"watch", | |
"run" | |
] | |
}, | |
{ | |
"taskName": "restore", | |
"suppressTaskName": true, | |
"command": "dotnet", | |
"args": [ | |
"restore" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment