From 1ce0c0ae0da17e1eb2f2a3acfdf642872c133955 Mon Sep 17 00:00:00 2001 From: Muhamad Assar Date: Wed, 19 Jun 2024 02:51:39 +0300 Subject: [PATCH] add run Linux, MacOS and Windows to tasks.json (#1215) I'm using vscode on linux and wanted a shortcut to run the app from the tasks panel --- .vscode/tasks.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index db2ab3bf3a..fd9bcc62a3 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -84,6 +84,51 @@ }, // Use the standard MS compiler pattern to detect errors, warnings and infos "problemMatcher": ["$msCompile"] + }, + { + "label": "Run DevToys Linux", + "type": "shell", + "command": "dotnet", + "args": [ + "run", + "--project", + "src/app/dev/platforms/desktop/DevToys.Linux", + ], + "group": { + "kind": "none", + }, + // Use the standard MS compiler pattern to detect errors, warnings and infos + "problemMatcher": ["$msCompile"] + }, + { + "label": "Run DevToys MacOS", + "type": "shell", + "command": "dotnet", + "args": [ + "run", + "--project", + "src/app/dev/platforms/desktop/DevToys.MacOS", + ], + "group": { + "kind": "none", + }, + // Use the standard MS compiler pattern to detect errors, warnings and infos + "problemMatcher": ["$msCompile"] + }, + { + "label": "Run DevToys Windows", + "type": "shell", + "command": "dotnet", + "args": [ + "run", + "--project", + "src/app/dev/platforms/desktop/DevToys.Windows", + ], + "group": { + "kind": "none", + }, + // Use the standard MS compiler pattern to detect errors, warnings and infos + "problemMatcher": ["$msCompile"] } ] } \ No newline at end of file