{ "version": "2.0.0", "tasks": [ { "label": "build", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj" ], "problemMatcher": "$msCompile", "group": { "kind": "build", "isDefault": true }, "options": { "statusbar": { "label": "$(tools) Build", "color": "#3a96ff", "detail": "Build the solution" } } }, { "label": "publish", "command": "dotnet", "type": "process", "args": [ "publish", "${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj", "-c", "Release", "-r", "win-x64", "--self-contained", "true", "/p:PublishSingleFile=true", "/p:EnableCompressionInSingleFile=true", "/p:IncludeNativeLibrariesForSelfExtract=true", "/p:IncludeAllContentForSelfExtract=true", "/p:DebugType=None", "/p:DebugSymbols=false", "-o", "${workspaceFolder}/Publish" ], "problemMatcher": "$msCompile", "options": { "statusbar": { "label": "$(package) Publish", "color": "#22c55e", "detail": "Publish desktop app into Publish folder" } } }, { "label": "watch", "command": "dotnet", "type": "process", "args": [ "watch", "run", "--project", "${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj" ], "problemMatcher": "$msCompile", "isBackground": true, "presentation": { "reveal": "never", "panel": "dedicated" }, "options": { "statusbar": { "label": "$(eye) Watch", "color": "#f7df06", "detail": "Watch and Run Desktop" } } }, { "label": "debug", "command": "dotnet", "type": "process", "args": [ "run", "--project", "${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj", "--configuration", "Debug" ], "problemMatcher": "$msCompile", "presentation": { "reveal": "always", "panel": "dedicated" }, "options": { "statusbar": { "label": "$(debug-alt) Debug", "color": "#c586c0", "detail": "Run the desktop app for debugger attach" } } } ] }