Created
September 23, 2016 14:50
-
-
Save evanportwood/84ca37d6f814a120decfa7ceed58a32d to your computer and use it in GitHub Desktop.
VS Code tasks.json example to run msbuild and gulp tasks
This file contains 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
{ | |
"version": "0.1.0", | |
"command": "cmd", | |
"isShellCommand": true, | |
"args": ["/C"], | |
"tasks": [ | |
{ | |
"taskName": "Build Solution", | |
"suppressTaskName": true, | |
"isBuildCommand": true, // triggered via Ctrl+Shift+b | |
"args": ["C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe ReplaceWithPathToSlnFile"] | |
}, | |
{ | |
"taskName": "Build Project A", | |
"suppressTaskName": true, | |
"args": ["C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe ReplaceWithPathToCsprojFile"] | |
}, | |
{ | |
"taskName": "Build Project B", | |
"suppressTaskName": true, | |
"args": ["C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe ReplaceWithPathToCsprojFile"] | |
}, | |
{ | |
"taskName": "Gulp Build Task 1", | |
"suppressTaskName": true, | |
"args": ["gulp replaceWithTaskName"], | |
"isBuildCommand": true, // triggered via Ctrl+Shift+b | |
"showOutput": "always" | |
}, | |
{ | |
"taskName": "Gulp Build Task 2", | |
"suppressTaskName": true, | |
"args": ["gulp replaceWithTaskName"], | |
"isBuildCommand": true, // triggered via Ctrl+Shift+b | |
"showOutput": "always" | |
}, | |
{ | |
"taskName": "Gulp Watch", | |
"suppressTaskName": true, | |
"args": ["gulp replaceWithTaskName"], | |
"isWatching": true, | |
"showOutput": "always" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment