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" + } + } + } + } + } + ] +}