From 29d5a89db15a0e09828fa798dcd9c1e5acf52de0 Mon Sep 17 00:00:00 2001 From: Curtis Wensley Date: Tue, 26 May 2020 22:55:33 -0700 Subject: [PATCH] Add WinForms to VSCode launch/tasks --- .vscode/launch.json | 10 ++++++++++ .vscode/tasks.json | 14 ++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 4c39eccfe1..86277b1dbf 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -32,5 +32,15 @@ "console": "internalConsole", "internalConsoleOptions": "openOnSessionStart" }, + { + "name": "Eto.Test.WinForms", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build-winforms", + "program": "${workspaceFolder}/artifacts/test/Debug/netcoreapp3.1/Eto.Test.WinForms.exe", + "args": [], + "console": "internalConsole", + "internalConsoleOptions": "openOnSessionStart" + } ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index a4df61f96c..e301316a6e 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -59,6 +59,20 @@ "group": "build", "problemMatcher": "$msCompile" }, + { + "label": "build-winforms", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "/v:Minimal", + "/p:Configuration=Debug", + "/p:TargetFramework=netcoreapp3.1", + "${workspaceFolder}/test/Eto.Test.WinForms/Eto.Test.WinForms.csproj" + ], + "group": "build", + "problemMatcher": "$msCompile" + }, { "label": "restore", "command": "dotnet",