2016-10-14 22:11:41 +08:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "0.1.0",
|
|
|
|
"taskSelector": "/t:",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"taskName": "build",
|
2017-04-09 17:59:43 +08:00
|
|
|
"isShellCommand": true,
|
2016-10-14 22:11:41 +08:00
|
|
|
"showOutput": "silent",
|
2017-04-19 00:37:30 +08:00
|
|
|
"command": "msbuild",
|
2017-04-09 17:59:43 +08:00
|
|
|
"args": [
|
2017-04-22 15:59:15 +08:00
|
|
|
"/property:GenerateFullPaths=true",
|
2017-04-24 21:11:38 +08:00
|
|
|
"/property:DebugType=portable"
|
2017-04-22 15:59:15 +08:00
|
|
|
],
|
2017-04-24 21:11:38 +08:00
|
|
|
"windows": {
|
|
|
|
"args": [
|
|
|
|
"/property:GenerateFullPaths=true",
|
|
|
|
"/property:DebugType=portable",
|
|
|
|
"/m" //parallel compiling support. doesn't work well with mono atm
|
|
|
|
]
|
|
|
|
},
|
2017-04-22 15:59:15 +08:00
|
|
|
// Use the standard MS compiler pattern to detect errors, warnings and infos
|
|
|
|
"problemMatcher": "$msCompile",
|
|
|
|
"isBuildCommand": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"taskName": "rebuild",
|
|
|
|
"isShellCommand": true,
|
|
|
|
"showOutput": "silent",
|
|
|
|
"command": "msbuild",
|
|
|
|
"args": [
|
|
|
|
// Ask msbuild to generate full paths for file names.
|
|
|
|
"/property:GenerateFullPaths=true",
|
|
|
|
"/property:DebugType=portable",
|
2017-04-24 21:11:38 +08:00
|
|
|
"/target:Clean,Build"
|
2017-04-09 17:59:43 +08:00
|
|
|
],
|
2017-04-24 21:11:38 +08:00
|
|
|
"windows": {
|
|
|
|
"args": [
|
|
|
|
"/property:GenerateFullPaths=true",
|
|
|
|
"/property:DebugType=portable",
|
|
|
|
"/target:Clean,Build",
|
|
|
|
"/m" //parallel compiling support. doesn't work well with mono atm
|
|
|
|
]
|
|
|
|
},
|
2016-10-14 22:11:41 +08:00
|
|
|
// Use the standard MS compiler pattern to detect errors, warnings and infos
|
2017-04-09 17:59:43 +08:00
|
|
|
"problemMatcher": "$msCompile",
|
|
|
|
"isBuildCommand": true
|
2016-10-14 22:11:41 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|