Skip to content

Commit d93cd50

Browse files
committed
Fix launch settings
1 parent f4342e2 commit d93cd50

3 files changed

Lines changed: 91 additions & 2 deletions

File tree

.vscode/launch.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,17 @@
204204
},
205205
"preLaunchTask": "buildSso",
206206
},
207+
{
208+
"name": "Seeder API",
209+
"configurations": [
210+
"run-SeederAPI"
211+
],
212+
"presentation": {
213+
"hidden": false,
214+
"group": "cloud",
215+
},
216+
"preLaunchTask": "buildSeederAPI",
217+
},
207218
{
208219
"name": "Admin Self Host",
209220
"configurations": [
@@ -270,6 +281,17 @@
270281
},
271282
"preLaunchTask": "buildSso",
272283
},
284+
{
285+
"name": "Seeder API Self Host",
286+
"configurations": [
287+
"run-SeederAPI-SelfHost"
288+
],
289+
"presentation": {
290+
"hidden": false,
291+
"group": "self-host",
292+
},
293+
"preLaunchTask": "buildSeederAPI",
294+
}
273295
],
274296
"configurations": [
275297
// Configurations represent run-only scenarios so that they can be used in multiple compounds
@@ -311,6 +333,25 @@
311333
"/Views": "${workspaceFolder}/Views"
312334
}
313335
},
336+
{
337+
"name": "run-SeederAPI",
338+
"presentation": {
339+
"hidden": true,
340+
},
341+
"requireExactSource": true,
342+
"type": "coreclr",
343+
"request": "launch",
344+
"program": "${workspaceFolder}/util/SeederApi/bin/Debug/net8.0/SeederApi.dll",
345+
"args": [],
346+
"cwd": "${workspaceFolder}/util/SeederApi",
347+
"stopAtEntry": false,
348+
"env": {
349+
"ASPNETCORE_ENVIRONMENT": "Development",
350+
},
351+
"sourceFileMap": {
352+
"/Views": "${workspaceFolder}/Views"
353+
}
354+
},
314355
{
315356
"name": "run-Billing",
316357
"presentation": {
@@ -488,6 +529,27 @@
488529
"/Views": "${workspaceFolder}/Views"
489530
}
490531
},
532+
{
533+
"name": "run-SeederAPI-SelfHost",
534+
"presentation": {
535+
"hidden": true,
536+
},
537+
"requireExactSource": true,
538+
"type": "coreclr",
539+
"request": "launch",
540+
"program": "${workspaceFolder}/util/SeederApi/bin/Debug/net8.0/SeederApi.dll",
541+
"args": [],
542+
"cwd": "${workspaceFolder}/util/SeederApi",
543+
"stopAtEntry": false,
544+
"env": {
545+
"ASPNETCORE_ENVIRONMENT": "Development",
546+
"ASPNETCORE_URLS": "http://localhost:5048",
547+
"developSelfHosted": "true",
548+
},
549+
"sourceFileMap": {
550+
"/Views": "${workspaceFolder}/Views"
551+
}
552+
},
491553
{
492554
"name": "run-Admin-SelfHost",
493555
"presentation": {

.vscode/tasks.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"buildSso",
5252
"buildIcons",
5353
"buildBilling",
54-
"buildNotifications",
54+
"buildNotifications"
5555
],
5656
},
5757
{
@@ -186,6 +186,23 @@
186186
"isDefault": true
187187
}
188188
},
189+
{
190+
"label": "buildSeederAPI",
191+
"hide": true,
192+
"command": "dotnet",
193+
"type": "process",
194+
"args": [
195+
"build",
196+
"${workspaceFolder}/util/SeederApi/SeederApi.csproj",
197+
"/property:GenerateFullPaths=true",
198+
"/consoleloggerparameters:NoSummary"
199+
],
200+
"problemMatcher": "$msCompile",
201+
"group": {
202+
"kind": "build",
203+
"isDefault": true
204+
}
205+
},
189206
{
190207
"label": "buildNotifications",
191208
"hide": true,

util/SeederApi/Properties/launchSettings.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"windowsAuthentication": false,
55
"anonymousAuthentication": true,
66
"iisExpress": {
7-
"applicationUrl": "http://localhost:50467",
7+
"applicationUrl": "http://localhost:5047",
88
"sslPort": 0
99
}
1010
},
@@ -18,6 +18,16 @@
1818
"ASPNETCORE_ENVIRONMENT": "Development"
1919
}
2020
},
21+
"SeederApi-SelfHost": {
22+
"commandName": "Project",
23+
"dotnetRunMessages": true,
24+
"launchBrowser": true,
25+
"applicationUrl": "http://localhost:5048",
26+
"environmentVariables": {
27+
"ASPNETCORE_ENVIRONMENT": "Development",
28+
"developSelfHosted": "true"
29+
}
30+
},
2131
"IIS Express": {
2232
"commandName": "IISExpress",
2333
"launchBrowser": true,

0 commit comments

Comments
 (0)