osu/.vscode/tasks.json
Dean Herbert 74fa336693 Update vscode launch/task configuration.
Adds debug/release launching. Cleans up much. Also updates tasks.json schema to 2.0.0 which supports multiple commands.

Can't use until https://github.com/Microsoft/vscode/issues/22250 is fixed.
2017-04-26 14:27:01 +09:00

50 lines
1.3 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"problemMatcher": "$msCompile",
"isShellCommand": true,
"command": "msbuild",
"suppressTaskName": true,
"showOutput": "silent",
"args": [
"/property:GenerateFullPaths=true",
"/property:DebugType=portable"
],
"windows": {
"args": [
"/property:GenerateFullPaths=true",
"/property:DebugType=portable",
"/m" //parallel compiling support. doesn't work well with mono atm
]
},
"tasks": [
{
"taskName": "Build (Debug)",
"isBuildCommand": true
},
{
"taskName": "Build (Release)",
"args": [
"/property:Configuration=Release"
]
},
{
"taskName": "Clean All",
"dependsOn": ["Clean (Debug)", "Clean (Release)"]
},
{
"taskName": "Clean (Debug)",
"args": [
"/target:Clean"
]
},
{
"taskName": "Clean (Release)",
"args": [
"/target:Clean",
"/property:Configuration=Release"
]
}
]
}