Skip to content

Instantly share code, notes, and snippets.

@hoangitk
Created November 18, 2016 07:51
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hoangitk/fe06cbdafb5dab47752885987f70b696 to your computer and use it in GitHub Desktop.
Save hoangitk/fe06cbdafb5dab47752885987f70b696 to your computer and use it in GitHub Desktop.
VSCode task with msbuild
{
"version": "0.1.0",
"command": "cmd",
"args": [
"/c"
],
"showOutput": "always",
"echoCommand": true,
"tasks": [
{
"isBuildCommand": true,
"taskName": "MSBuild.exe",
"args": [
"${workspaceRoot}/src/Example.sln",
"/t:Rebuild",
"/p:Configuration=Debug;Platform=Any CPU;GenerateFullPaths=true",
"/m"
],
"showOutput": "always",
"problemMatcher": "$msCompile"
},
{
"taskName": "nunit3-console.exe",
"args": [
"${workspaceRoot}/src/Example.sln"
],
"showOutput": "always"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment