add clear log provide

This commit is contained in:
2026-08-23 18:15:40 +10:00
parent 4eafa2fa8d
commit ba4976fce4
6 changed files with 76 additions and 13 deletions
+20 -1
View File
@@ -2,6 +2,7 @@
"version": "0.2.0",
"configurations": [
{
"name": "C#: FamilyTreeAPI",
"type": "coreclr",
@@ -27,7 +28,25 @@
"/Views": "${workspaceFolder}/Views"
},
}
},
{
"name": ".NET Core Launch (web) - Release",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "publish",
"program": "${workspaceFolder}\\FamilyTreeAPI\\bin\\Release\\net10.0\\FamilyTreeAPI.dll",
"serverReadyAction": {
"action": "openExternally",
"pattern": "listening on:\\s+(https?://\\S+)",
"uriFormat": "%s/swagger/index.html"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Production",
"ASPNETCORE_URLS": "https://localhost:5019"
},
"cwd": "${workspaceFolder}"
}
+13 -1
View File
@@ -7,13 +7,25 @@
"type": "shell",
"args": [
"build",
"${workspaceFolder}/FamilyTreeAPI/FamilyTreeAPI.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/FamilyTreeAPI/FamilyTreeAPI.csproj",
"-c",
"Release"
],
"problemMatcher": "$msCompile"
},
]
}