When debugging only app.Services.GetRequiredService<IPCRBService>(); Injected AppSettings instead of using GetEnvironmentVariable at Services level Get ready to use VSCode IDE
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"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.Shared.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
} |