Skip to content

Commit

Permalink
For running in VSCode
Browse files Browse the repository at this point in the history
  • Loading branch information
CIRCULARKA committed Jun 28, 2020
1 parent 53662cd commit 5ed6fc2
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/src/Camelot/bin/Debug/netcoreapp3.1/Camelot.dll",
"args": [],
"cwd": "${workspaceFolder}/src/Camelot",
"console": "externalTerminal",
"stopAtEntry": true
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
51 changes: 51 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build Debug",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/Camelot/Camelot.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": "$msCompile"
},
{
"label": "Build Release",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/Camelot/Camelot.csproj",
"-o:${workspaceFolder}/Release"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": "$msCompile"
},
{
"label": "Run",
"command": "dotnet",
"type": "process",
"args": [
"run",
"--project",
"${workspaceFolder}/src/Camelot/Camelot.csproj"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}
]
}

0 comments on commit 5ed6fc2

Please sign in to comment.