Skip to content

Commit 3050b71

Browse files
authored
update .vscode debug configuration according to the current repository samples (#610)
1 parent 929eec8 commit 3050b71

File tree

2 files changed

+15
-45
lines changed

2 files changed

+15
-45
lines changed

.vscode/launch.json

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": ".NET Core Launch GoogleAuthApp (console)",
8+
"name": ".NET Core Launch EndpointRoutingApp (console)",
99
"type": "coreclr",
1010
"request": "launch",
11-
"preLaunchTask": "build GoogleAuthApp",
12-
"program": "${workspaceFolder}/samples/GoogleAuthApp/GoogleAuthApp/bin/Debug/netcoreapp2.2/GoogleAuthApp.dll",
11+
"preLaunchTask": "build EndpointRoutingApp",
12+
"program": "${workspaceFolder}/samples/EndpointRoutingApp/bin/Debug/net8.0/EndpointRoutingApp.dll",
1313
"args": [],
1414
"cwd": "${workspaceFolder}",
1515
"console": "internalConsole",
@@ -18,11 +18,11 @@
1818
"justMyCode": false
1919
},
2020
{
21-
"name": ".NET Core Launch IdentityApp (console)",
21+
"name": ".NET Core Launch NewtonsoftJson (console)",
2222
"type": "coreclr",
2323
"request": "launch",
24-
"preLaunchTask": "build IdentityApp",
25-
"program": "${workspaceFolder}/samples/IdentityApp/IdentityApp/bin/Debug/netcoreapp2.2/IdentityApp.dll",
24+
"preLaunchTask": "build NewtonsoftJson",
25+
"program": "${workspaceFolder}/samples/NewtonsoftJson/bin/Debug/net8.0/NewtonsoftJson.dll",
2626
"args": [],
2727
"cwd": "${workspaceFolder}",
2828
"console": "internalConsole",
@@ -31,37 +31,17 @@
3131
"justMyCode": false
3232
},
3333
{
34-
"name": ".NET Core Launch JwtApp (console)",
34+
"name": ".NET Core Launch ResponseCachingApp (console)",
3535
"type": "coreclr",
3636
"request": "launch",
37-
"preLaunchTask": "build JwtApp",
38-
"program": "${workspaceFolder}/samples/JwtApp/JwtApp/bin/Debug/netcoreapp2.2/JwtApp.dll",
37+
"preLaunchTask": "build ResponseCachingApp",
38+
"program": "${workspaceFolder}/samples/ResponseCachingApp/bin/Debug/net7.0/ResponseCachingApp.dll",
3939
"args": [],
4040
"cwd": "${workspaceFolder}",
4141
"console": "internalConsole",
4242
"internalConsoleOptions": "openOnSessionStart",
4343
"stopAtEntry": false,
4444
"justMyCode": false
45-
},
46-
{
47-
"name": ".NET Core Launch SampleApp (console)",
48-
"type": "coreclr",
49-
"request": "launch",
50-
"preLaunchTask": "build SampleApp",
51-
"program": "${workspaceFolder}/samples/SampleApp/SampleApp/bin/Debug/netcoreapp2.2/SampleApp.dll",
52-
"args": [],
53-
"cwd": "${workspaceFolder}",
54-
"console": "internalConsole",
55-
"internalConsoleOptions": "openOnSessionStart",
56-
"stopAtEntry": false,
57-
"justMyCode": false
58-
},
59-
{
60-
"name": ".NET Core Attach",
61-
"type": "coreclr",
62-
"request": "attach",
63-
"processId": "${command:pickProcess}",
64-
"justMyCode": false
6545
}
6646
]
6747
}

.vscode/tasks.json

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7-
"label": "build GoogleAuthApp",
8-
"command": "dotnet build samples/GoogleAuthApp/GoogleAuthApp/GoogleAuthApp.fsproj",
7+
"label": "build EndpointRoutingApp",
8+
"command": "dotnet build samples/EndpointRoutingApp/EndpointRoutingApp.fsproj",
99
"type": "shell",
1010
"group": "build",
1111
"presentation": {
@@ -14,8 +14,8 @@
1414
"problemMatcher": "$msCompile"
1515
},
1616
{
17-
"label": "build IdentityApp",
18-
"command": "dotnet build samples/IdentityApp/IdentityApp/IdentityApp.fsproj",
17+
"label": "build NewtonsoftJson",
18+
"command": "dotnet build samples/NewtonsoftJson/NewtonsoftJson.fsproj",
1919
"type": "shell",
2020
"group": "build",
2121
"presentation": {
@@ -24,18 +24,8 @@
2424
"problemMatcher": "$msCompile"
2525
},
2626
{
27-
"label": "build JwtApp",
28-
"command": "dotnet build samples/JwtApp/JwtApp/JwtApp.fsproj",
29-
"type": "shell",
30-
"group": "build",
31-
"presentation": {
32-
"reveal": "silent"
33-
},
34-
"problemMatcher": "$msCompile"
35-
},
36-
{
37-
"label": "build SampleApp",
38-
"command": "dotnet build samples/SampleApp/SampleApp/SampleApp.fsproj",
27+
"label": "build ResponseCachingApp",
28+
"command": "dotnet build samples/ResponseCachingApp/ResponseCachingApp.fsproj",
3929
"type": "shell",
4030
"group": "build",
4131
"presentation": {

0 commit comments

Comments
 (0)