Skip to content

Commit 5d837b1

Browse files
committed
Update tasks.json to latest VSCode format.
1 parent 1cd0e61 commit 5d837b1

File tree

1 file changed

+29
-12
lines changed

1 file changed

+29
-12
lines changed

.vscode/tasks.json

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,35 @@
11
{
2-
"version": "0.1.0",
3-
"command": "dotnet",
4-
"isShellCommand": true,
5-
"args": [],
6-
"options": {
7-
"cwd": "${workspaceRoot}\\tests\\MySqlConnector.Tests"
8-
},
2+
"version": "2.0.0",
93
"tasks": [
104
{
11-
"taskName": "build",
12-
"args": [ ],
13-
"isBuildCommand": true,
14-
"showOutput": "silent",
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "shell",
8+
"args": [
9+
"build",
10+
// Ask dotnet build to generate full paths for file names.
11+
"/property:GenerateFullPaths=true",
12+
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
13+
"/consoleloggerparameters:NoSummary"
14+
],
15+
"group": "build",
16+
"presentation": {
17+
"reveal": "silent"
18+
},
1519
"problemMatcher": "$msCompile"
20+
},
21+
{
22+
"label": "test",
23+
"command": "dotnet",
24+
"type": "shell",
25+
"args": [
26+
"test",
27+
"--configuration=Release"
28+
],
29+
"group": "test",
30+
"presentation": {
31+
"reveal": "silent"
32+
}
1633
}
1734
]
18-
}
35+
}

0 commit comments

Comments
 (0)