Skip to content

Instantly share code, notes, and snippets.

@bcavileer
Created June 29, 2016 19:05
Show Gist options
  • Select an option

  • Save bcavileer/1947b786746c668a948774431677d2a5 to your computer and use it in GitHub Desktop.

Select an option

Save bcavileer/1947b786746c668a948774431677d2a5 to your computer and use it in GitHub Desktop.
Visual Studio Code - C# dotnet tasks
{
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"showOutput": "silent",
"tasks": [
{
"taskName": "restore",
"suppressTaskName": true,
"args" : ["restore"],
"showOutput": "always",
"problemMatcher": "$msCompile"
},
{
"taskName": "unit test",
"suppressTaskName": true,
"args" : ["test"],
"isTestCommand": true,
"showOutput": "always"
},
{
"taskName": "dotnet version",
"suppressTaskName": true,
"args" : ["--version"],
"showOutput": "always"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment