Get VScode build system working

This commit is contained in:
2025-06-17 20:28:06 -07:00
parent e040e893ca
commit d19ae9ac5f
10 changed files with 81 additions and 195 deletions
+25
View File
@@ -0,0 +1,25 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch ASP.NET Core backend",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-all",
"program": "${workspaceFolder}/debug/MistoxWebsite.Server.dll",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
}
]
}
+34
View File
@@ -0,0 +1,34 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "server-build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/MistoxWebsite.Server/MistoxWebsite.Server.csproj",
"-o",
"${workspaceFolder}/debug/"
],
"problemMatcher": "$msCompile"
},
{
"label": "client-build",
"command": "ng",
"type": "process",
"options": {
"cwd": "${workspaceFolder}/src/MistoxWebsite.Client"
},
"args": [
"build"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-all",
"dependsOn": ["client-build", "server-build" ],
"dependsOrder": "sequence"
}
]
}