Skip to content

Commit

Permalink
Add WinForms to VSCode launch/tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensley committed May 27, 2020
1 parent 59d735d commit 29d5a89
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
14 changes: 14 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 29d5a89

Please sign in to comment.