222 lines
6.9 KiB
JSON
222 lines
6.9 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "User Secrets Init",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"user-secrets",
|
|
"-p",
|
|
"${workspaceFolder}/Server/OI.Metrology.Server.csproj",
|
|
"init"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "User Secrets Set",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"user-secrets",
|
|
"-p",
|
|
"${workspaceFolder}/Server/OI.Metrology.Server.csproj",
|
|
"set",
|
|
"_Application",
|
|
"oi-metrology-viewer.Server"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "buildServer",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/Server/OI.Metrology.Server.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "buildTests",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/Tests/OI.Metrology.Tests.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "buildShared",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/Shared/OI.Metrology.Shared.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publishServer",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/Server/OI.Metrology.Server.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "testDebug",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"test",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "testRelease",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"test",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary",
|
|
"-c",
|
|
"Release"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Format",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"format",
|
|
"--report",
|
|
".vscode",
|
|
"--verbosity",
|
|
"detailed",
|
|
"--severity",
|
|
"warn"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "old-watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/Server/OI.Metrology.Server.csproj"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watchServer",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"--launch-profile",
|
|
"http",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/Server/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.*"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "buildClientHub",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/ClientHub/OI.Metrology.ClientHub.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publishClientHub",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/ClientHub/OI.Metrology.ClientHub.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watchClientHub",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"--launch-profile",
|
|
"http",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/ClientHub/OI.Metrology.ClientHub.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.*"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |