diff options
author | crupest <crupest@outlook.com> | 2019-04-24 20:52:34 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-24 20:52:34 +0800 |
commit | e241dd42b406bdc418bb487d503d65e5b207deb8 (patch) | |
tree | a613b568085a912d13f0ec5c2053c25278f21abc /.vscode | |
parent | 1bdae799ad607a06027f61c5194e7729081418cf (diff) | |
download | timeline-e241dd42b406bdc418bb487d503d65e5b207deb8.tar.gz timeline-e241dd42b406bdc418bb487d503d65e5b207deb8.tar.bz2 timeline-e241dd42b406bdc418bb487d503d65e5b207deb8.zip |
Add development environment on archlinux.
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 34 | ||||
-rw-r--r-- | .vscode/tasks.json | 36 |
2 files changed, 70 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..bb765851 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,34 @@ +{ + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Core Launch (web)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/Timeline/bin/Debug/netcoreapp2.2/Timeline.dll", + "args": [], + "cwd": "${workspaceFolder}/Timeline", + "stopAtEntry": false, + "launchBrowser": { + "enabled": true + }, + "env": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "sourceFileMap": { + "/Views": "${workspaceFolder}/Views" + } + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach", + "processId": "${command:pickProcess}" + } + ] +}
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..eeb06c4f --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,36 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/Timeline/Timeline.csproj" + ], + "problemMatcher": "$tsc" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/Timeline/Timeline.csproj" + ], + "problemMatcher": "$tsc" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "${workspaceFolder}/Timeline/Timeline.csproj" + ], + "problemMatcher": "$tsc" + } + ] +}
\ No newline at end of file |