put in two launch.json and tasks.json

This commit is contained in:
2026-08-05 10:49:18 +10:00
parent 5d2e989ee9
commit 9070bebb54
2 changed files with 24 additions and 2 deletions
+4 -2
View File
@@ -12,13 +12,15 @@
"stopAtEntry": false, "stopAtEntry": false,
"console": "internalConsole", "console": "internalConsole",
"env": { "env": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_URLS": "http://localhost:5300"
}, },
"serverReadyAction": { "serverReadyAction": {
"action": "openUrl", "action": "openExternally",
"pattern": "Now listening on:\\s+(https?://\\S+)", "pattern": "Now listening on:\\s+(https?://\\S+)",
"uriFormat": "%s/swagger/index.html" "uriFormat": "%s/swagger/index.html"
} }
} }
] ]
} }
+20
View File
@@ -0,0 +1,20 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/FamilyTreeAPI.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
]
}