Skip to content

Commit 7c0f6a8

Browse files
committed
add vscode launch.json and tasks.json
1 parent abdfa5c commit 7c0f6a8

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": ".NET Core Launch (console)",
6+
"type": "coreclr",
7+
"request": "launch",
8+
"preLaunchTask": "build",
9+
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.0/JsonApiDotNetCoreExample.dll",
10+
"args": [],
11+
"cwd": "${workspaceRoot}",
12+
"stopAtEntry": false,
13+
"externalConsole": false
14+
},
15+
{
16+
"name": ".NET Core Launch (web)",
17+
"type": "coreclr",
18+
"request": "launch",
19+
"preLaunchTask": "build",
20+
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.0/JsonApiDotNetCoreExample.dll",
21+
"args": [],
22+
"cwd": "${workspaceRoot}",
23+
"stopAtEntry": false,
24+
"launchBrowser": {
25+
"enabled": true,
26+
"args": "${auto-detect-url}",
27+
"windows": {
28+
"command": "cmd.exe",
29+
"args": "/C start ${auto-detect-url}"
30+
},
31+
"osx": {
32+
"command": "open"
33+
},
34+
"linux": {
35+
"command": "xdg-open"
36+
}
37+
},
38+
"env": {
39+
"ASPNETCORE_ENVIRONMENT": "Development"
40+
},
41+
"sourceFileMap": {
42+
"/Views": "${workspaceRoot}/Views"
43+
}
44+
},
45+
{
46+
"name": ".NET Core Attach",
47+
"type": "coreclr",
48+
"request": "attach",
49+
"processId": "${command.pickProcess}"
50+
}
51+
]
52+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "0.1.0",
5+
"command": "dotnet",
6+
"isShellCommand": true,
7+
"args": [],
8+
"tasks": [
9+
{
10+
"taskName": "build",
11+
"args": [ ],
12+
"isBuildCommand": true,
13+
"showOutput": "silent",
14+
"problemMatcher": "$msCompile"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)