Skip to content

Commit

Permalink
Add vscode launch/build configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanmoffat committed Feb 10, 2022
1 parent a675f12 commit 36c44cd
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch - Linux",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/client/net6.0/EndlessClient",
"args": [],
"cwd": "${workspaceFolder}/bin/Debug/client/net6.0",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Launch - Windows",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/client/net6.0-windows/EndlessClient.exe",
"args": [],
"cwd": "${workspaceFolder}/bin/Debug/client/net6.0-windows",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
41 changes: 41 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/EndlessClient/EndlessClient.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/EndlessClient/EndlessClient.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/EndlessClient/EndlessClient.csproj"
],
"problemMatcher": "$msCompile"
}
]
}

0 comments on commit 36c44cd

Please sign in to comment.