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

4
.vscode/launch.json vendored
View File

@@ -8,7 +8,7 @@
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"preLaunchTask": "build debug",
// If you have changed target frameworks, make sure to update the program path.
//#### THIS MEANS YOU JOHNNY! If the debugger fails this is the issue
"program": "${workspaceFolder}/server/AyaNova/bin/Debug/net6.0/AyaNova.dll",
@@ -48,7 +48,7 @@
"AYANOVA_DATA_PATH": "c:\\temp\\ravendata",
"AYANOVA_USE_URLS": "http://*:7575;",
//"AYANOVA_PERMANENTLY_ERASE_DATABASE":"true",
"AYANOVA_SERVER_TEST_MODE": "true",
"AYANOVA_SERVER_TEST_MODE": "false",
//"AYANOVA_REPORT_RENDERING_TIMEOUT":"60",
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin\\"

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
}
}
]
}