When debugging only app.Services.GetRequiredService<IPCRBService>(); Injected AppSettings instead of using GetEnvironmentVariable at Services level Get ready to use VSCode IDE
121 lines
3.5 KiB
JSON
121 lines
3.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "User Secrets Init",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"user-secrets",
|
|
"-p",
|
|
"${workspaceFolder}/MesaFabApproval.Client.csproj",
|
|
"init"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Format",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"format",
|
|
"--report",
|
|
".vscode",
|
|
"--verbosity",
|
|
"detailed",
|
|
"--severity",
|
|
"warn"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Format-Whitespaces",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"format",
|
|
"whitespace"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/MesaFabApproval.Client.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "testDebug",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"test",
|
|
"${workspaceFolder}/MesaFabApproval.Client.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "testRelease",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"test",
|
|
"${workspaceFolder}/MesaFabApproval.Client.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary",
|
|
"-c",
|
|
"Release"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/MesaFabApproval.Client.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/MesaFabApproval.Client.csproj"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Publish AOT",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"-r",
|
|
"win-x64",
|
|
"-c",
|
|
"Release",
|
|
"-p:PublishAot=true",
|
|
"${workspaceFolder}/MesaFabApproval.Client.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
} |