Skip to content

Commit c067977

Browse files
committed
Fixing launch, and tasks to update dependencies
1 parent 60fe60a commit c067977

File tree

2 files changed

+91
-69
lines changed

2 files changed

+91
-69
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "coreclr",
77
"request": "launch",
88
"preLaunchTask": "build",
9-
"program": "${workspaceFolder}/bin/Debug/net9.0/UnmanagedStringPool.dll",
9+
"program": "${workspaceFolder}/Demo/bin/Debug/net10.0/StringPoolDemo.dll",
1010
"args": [],
1111
"cwd": "${workspaceFolder}",
1212
"console": "internalConsole",

.vscode/tasks.json

Lines changed: 90 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,92 @@
11
{
2-
"version": "2.0.0",
3-
"tasks": [
4-
{
5-
"label": "build",
6-
"command": "dotnet",
7-
"type": "process",
8-
"args": [
9-
"build",
10-
"${workspaceFolder}/UnmanagedStringPool.sln",
11-
"/property:GenerateFullPaths=true",
12-
"/consoleloggerparameters:NoSummary;ForceNoAlign"
13-
],
14-
"problemMatcher": "$msCompile",
15-
"group": {
16-
"kind": "build",
17-
"isDefault": true
18-
}
19-
},
20-
{
21-
"label": "test",
22-
"command": "dotnet",
23-
"type": "process",
24-
"args": [
25-
"test",
26-
"${workspaceFolder}/Tests/StringPoolTest.csproj",
27-
"/property:GenerateFullPaths=true",
28-
"/consoleloggerparameters:NoSummary;ForceNoAlign"
29-
],
30-
"problemMatcher": "$msCompile",
31-
"group": {
32-
"kind": "test",
33-
"isDefault": true
34-
}
35-
},
36-
{
37-
"label": "clean",
38-
"command": "dotnet",
39-
"type": "process",
40-
"args": [
41-
"clean",
42-
"${workspaceFolder}/UnmanagedStringPool.sln",
43-
"/property:GenerateFullPaths=true",
44-
"/consoleloggerparameters:NoSummary;ForceNoAlign"
45-
],
46-
"problemMatcher": "$msCompile"
47-
},
48-
{
49-
"label": "format",
50-
"command": "dotnet",
51-
"type": "process",
52-
"args": [
53-
"format",
54-
"${workspaceFolder}/UnmanagedStringPool.sln"
55-
],
56-
"problemMatcher": []
57-
},
58-
{
59-
"label": "format (with analyzers)",
60-
"command": "dotnet",
61-
"type": "process",
62-
"args": [
63-
"format",
64-
"analyzers",
65-
"${workspaceFolder}/UnmanagedStringPool.sln"
66-
],
67-
"problemMatcher": []
68-
}
69-
]
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/UnmanagedStringPool.sln",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
13+
],
14+
"problemMatcher": "$msCompile",
15+
"group": {
16+
"kind": "build",
17+
"isDefault": true
18+
}
19+
},
20+
{
21+
"label": "test",
22+
"command": "dotnet",
23+
"type": "process",
24+
"args": [
25+
"test",
26+
"${workspaceFolder}/Tests/StringPoolTest.csproj",
27+
"/property:GenerateFullPaths=true",
28+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
29+
],
30+
"problemMatcher": "$msCompile",
31+
"group": {
32+
"kind": "test",
33+
"isDefault": true
34+
}
35+
},
36+
{
37+
"label": "clean",
38+
"command": "dotnet",
39+
"type": "process",
40+
"args": [
41+
"clean",
42+
"${workspaceFolder}/UnmanagedStringPool.sln",
43+
"/property:GenerateFullPaths=true",
44+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
45+
],
46+
"problemMatcher": "$msCompile"
47+
},
48+
{
49+
"label": "format",
50+
"command": "dotnet",
51+
"type": "process",
52+
"args": [
53+
"format",
54+
"${workspaceFolder}/UnmanagedStringPool.sln"
55+
],
56+
"problemMatcher": []
57+
},
58+
{
59+
"label": "format (with analyzers)",
60+
"command": "dotnet",
61+
"type": "process",
62+
"args": [
63+
"format",
64+
"analyzers",
65+
"${workspaceFolder}/UnmanagedStringPool.sln"
66+
],
67+
"problemMatcher": []
68+
},
69+
{
70+
"label": "package update - demo",
71+
"type": "shell",
72+
"command": "dotnet",
73+
"args": [
74+
"package",
75+
"update",
76+
"--project",
77+
"Demo/StringPoolDemo.csproj"
78+
]
79+
},
80+
{
81+
"label": "package update - tests",
82+
"type": "shell",
83+
"command": "dotnet",
84+
"args": [
85+
"package",
86+
"update",
87+
"--project",
88+
"Tests/StringPoolTest.csproj"
89+
]
90+
}
91+
]
7092
}

0 commit comments

Comments
 (0)