feat: add Blazor app launch configuration and build task

This commit is contained in:
2026-03-24 17:34:12 +00:00
parent a4bcd87769
commit cae21aecd4
2 changed files with 36 additions and 0 deletions

16
.vscode/launch.json vendored
View File

@@ -36,6 +36,22 @@
"webRoot": "${workspaceFolder}/Marechai.App",
"preLaunchTask": "run-app-wasm"
},
{
"name": "Blazor App (Marechai)",
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/Marechai/bin/Debug/net10.0/Marechai.dll",
"args": [],
"cwd": "${workspaceFolder}/Marechai",
"stopAtEntry": false,
"console": "internalConsole",
"serverReadyAction": {
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
"uriFormat": "%s",
"action": "openExternally"
},
"preLaunchTask": "build-blazor"
},
{
"name": "Server + Desktop App",
"type": "coreclr",

20
.vscode/tasks.json vendored
View File

@@ -125,6 +125,26 @@
},
"problemMatcher": "$msCompile"
},
{
"label": "build-blazor",
"command": "dotnet",
"type": "shell",
"args": [
"build",
"-c",
"Debug",
"${workspaceFolder}/Marechai/Marechai.csproj"
],
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"reveal": "silent",
"panel": "shared"
},
"problemMatcher": "$msCompile"
},
{
"label": "clean",
"command": "dotnet",