/ .vscode / tasks.json
tasks.json
  1  {
  2    "version": "2.0.0",
  3    "windows": {
  4      "options": {
  5        "shell": {
  6          "executable": "cmd.exe",
  7          "args": ["/d", "/c"]
  8        }
  9      }
 10    },
 11  
 12    "inputs": [
 13      {
 14        "id": "config",
 15        "type": "pickString",
 16        "description": "Configuration",
 17        "options": ["Debug", "Release"],
 18        "default": "Debug"
 19      },
 20      {
 21        "id": "platform",
 22        "type": "pickString",
 23        "description": "Platform (leave empty to auto-detect host platform)",
 24        "options": ["", "X64", "ARM64"],
 25        "default": "X64"
 26      },
 27      {
 28        "id": "msbuildExtra",
 29        "type": "promptString",
 30        "description": "Extra MSBuild args (optional). Example: /p:CIBuild=true /m",
 31        "default": ""
 32      }
 33    ],
 34  
 35    "tasks": [
 36      {
 37        "label": "PT: Build (quick)",
 38        "type": "shell",
 39        "command": "\"${workspaceFolder}\\tools\\build\\build.cmd\"",
 40        "args": [
 41          "-Path",
 42          "${fileDirname}"
 43        ],
 44        "group": { "kind": "build", "isDefault": true },
 45        "presentation": {
 46          "reveal": "always",
 47          "panel": "dedicated",
 48          "clear": true
 49        },
 50        "problemMatcher": "$msCompile"
 51      },
 52  
 53      {
 54        "label": "PT: Build (with options)",
 55        "type": "shell",
 56        "command": "\"${workspaceFolder}\\tools\\build\\build.cmd\"",
 57        "args": [
 58          "-Path",
 59          "${fileDirname}",
 60          "-Platform",
 61          "${input:platform}",
 62          "-Configuration",
 63          "${input:config}",
 64          "${input:msbuildExtra}"
 65        ],
 66        "presentation": {
 67          "reveal": "always",
 68          "panel": "dedicated",
 69          "clear": true
 70        },
 71        "problemMatcher": "$msCompile"
 72      },
 73  
 74      {
 75        "label": "PT: Build Essentials (quick)",
 76        "type": "shell",
 77        "command": "\"${workspaceFolder}\\tools\\build\\build-essentials.cmd\"",
 78        "args": [],
 79        "presentation": {
 80          "reveal": "always",
 81          "panel": "dedicated",
 82          "clear": true
 83        },
 84        "problemMatcher": "$msCompile"
 85      },
 86  
 87      {
 88        "label": "PT: Build Essentials (with options)",
 89        "type": "shell",
 90        "command": "\"${workspaceFolder}\\tools\\build\\build-essentials.cmd\"",
 91        "args": [
 92          "-Platform",
 93          "${input:platform}",
 94          "-Configuration",
 95          "${input:config}",
 96          "${input:msbuildExtra}"
 97        ],
 98        "presentation": {
 99          "reveal": "always",
100          "panel": "dedicated",
101          "clear": true
102        },
103        "problemMatcher": "$msCompile"
104      }
105    ]
106  }