Added ability to do a release mode build to confirm that #if(DEBUG) statements haven't broken anything

This commit is contained in:
2022-01-05 19:53:10 +00:00
parent 32e2bf71c7
commit 032c37cf3b
2 changed files with 19 additions and 3 deletions

18
.vscode/tasks.json vendored
View File

@@ -2,7 +2,7 @@
"version": "2.0.0",
"tasks": [
{
"label": "build",
"label": "build debug",
"command": "dotnet",
"type": "process",
"args": [
@@ -14,6 +14,22 @@
"kind": "build",
"isDefault": true
}
},
{
"label": "build release",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/server/AyaNova/AyaNova.csproj",
"-c",
"Release"
],
"problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}