{
    // 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"
            ]
        }
    ]
}