Skip to content

Instantly share code, notes, and snippets.

@rakkarage
Last active March 10, 2017 22:43
Show Gist options
  • Save rakkarage/12dc78af1a15130f0a1257d033f248e9 to your computer and use it in GitHub Desktop.
Save rakkarage/12dc78af1a15130f0a1257d033f248e9 to your computer and use it in GitHub Desktop.
vscode powershell dotnet release build
{
"version": "0.1.0",
"command": "powershell",
"isShellCommand": true,
"showOutput": "silent",
"args": [
"-Command"
],
"tasks": [
{
"taskName": "version",
"suppressTaskName": true,
"args": [ "dotnet --version" ],
"showOutput": "always"
},
{
"taskName": "restore",
"suppressTaskName": true,
"args": [ "dotnet restore" ],
"showOutput": "always",
"problemMatcher": "$msCompile"
},
{
"taskName": "build debug",
"isBuildCommand": true,
"suppressTaskName": true,
"args": [ "dotnet build --configuration Debug" ],
"showOutput": "always"
},
{
"taskName": "build release",
"isBuildCommand": true,
"suppressTaskName": true,
"args": [ "dotnet build --configuration Release" ],
"showOutput": "always"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment