Complete the non-docker debug builds

This commit is contained in:
2025-06-17 21:09:52 -07:00
parent 6336e39658
commit 52b6426883
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -6,9 +6,9 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-all",
"program": "${workspaceFolder}/debug/MistoxWebsite.Server.dll",
"program": "MistoxWebsite.Server.dll",
"args": [],
"cwd": "${workspaceFolder}",
"cwd": "${workspaceFolder}/debug/",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
+2 -2
View File
@@ -18,7 +18,7 @@
"command": "ng",
"type": "process",
"options": {
"cwd": "${workspaceFolder}/debug/wwwroot"
"cwd": "${workspaceFolder}/src/MistoxWebsite.Client"
},
"args": [
"build"
@@ -27,7 +27,7 @@
},
{
"label": "build-all",
"dependsOn": ["server-build", "client-build" ],
"dependsOn": ["client-build", "server-build" ],
"dependsOrder": "sequence"
}
]
+1 -1
View File
@@ -28,7 +28,7 @@
"aot": true,
"outputMode": "static",
"outputPath": {
"base": "../MistoxWebsite.Server/wwwroot",
"base": "../../debug/wwwroot",
"browser": ""
},
"deleteOutputPath": false
+4 -4
View File
@@ -63,17 +63,17 @@ builder.Services.AddRazorPages();
var app = builder.Build();
// Configure the HTTP request pipeline.
if( app.Environment.IsDevelopment() ) {
app.UseWebAssemblyDebugging();
} else {
if( !app.Environment.IsDevelopment() ) {
app.UseHsts();
}
app.UseBlazorFrameworkFiles();
app.UseDefaultFiles();
app.UseStaticFiles();
app.UseCors();
app.UseRouting();
app.UseAuthentication();
app.MapControllers();