75 lines
2.3 KiB
JSON
75 lines
2.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/OI.Metrology.Server.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/OI.Metrology.Server.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "old-watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/OI.Metrology.Server.csproj"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"--launch-profile",
|
|
"http",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/OI.Metrology.Server.csproj",
|
|
"--verbose"
|
|
],
|
|
"isBackground": true,
|
|
"dependsOn": [
|
|
"build"
|
|
],
|
|
"problemMatcher": {
|
|
"fileLocation": "relative",
|
|
"pattern": {
|
|
"regexp": "^([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
|
|
"file": 1,
|
|
"location": 2,
|
|
"severity": 3,
|
|
"code": 4,
|
|
"message": 5
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "^.*Shutdown requested.*",
|
|
"endsPattern": "^.*Application started.*"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |