To customize an existing build task:
This creates a tasks.json file in your folder. This file contains the custom build tasks for the current workspace:
{ "version": "2.0.0", "tasks": [ { "type": "COBOL", "msBuildExe": "path to \\MSBuild.exe", "buildTarget": "path\\projname.cblproj", "group": "build", "problemMatcher": [ "$COBOLMSBuild" ], "group": "build", "label": "COBOL: MSBuild (projname.cblproj)", } ]
"args": ["/p:configuration=release"]
The following examples show how you can specify multiple arguments:
"args": ["/p:Configuration=Release", "/p:Platform=x86"]
"args": ["/p:Configuration=Release,Platform=x86" ]
"args": ["'/p:Configuration=Release;Platform=x86'" ]