From f9426679ea6ab255dc35ed2151491971cd151ad2 Mon Sep 17 00:00:00 2001 From: troogs Date: Fri, 10 Apr 2026 05:48:29 +0200 Subject: [PATCH] Add tasks.json for managing FoodsharingSiegen.Server build and debug tasks --- .vscode/tasks.json | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..ca29313 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,53 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Watch FoodsharingSiegen.Server", + "type": "shell", + "command": "dotnet watch --project ./FoodsharingSiegen.Server/FoodsharingSiegen.Server.csproj run", + "isBackground": true, + "problemMatcher": "$msCompile", + "options": { + "statusbar": { + "hide": false, + "label": "Watch Server", + "color": "#3a96ff", + "icon": { + "id": "eye" + }, + "running": { + "color": "#f7df06", + "icon": { + "id": "loading~spin" + } + } + } + } + }, + { + "label": "Debug FoodsharingSiegen.Server", + "type": "shell", + "command": "dotnet run --project ./FoodsharingSiegen.Server/FoodsharingSiegen.Server.csproj", + "problemMatcher": "$msCompile", + "options": { + "env": { + "DOTNET_ROLL_FORWARD": "Major" + }, + "statusbar": { + "hide": false, + "label": "Debug Server", + "color": "#3a96ff", + "icon": { + "id": "debug-start" + }, + "running": { + "color": "#f7df06", + "icon": { + "id": "loading~spin" + } + } + } + } + } + ] +}