diff --git a/.vscode/launch.json b/.vscode/launch.json index cd448218..f525061c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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\\" diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 7bda4df0..2f0fab37 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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 + } } ] } \ No newline at end of file