diff --git a/.vscode/launch.json b/.vscode/launch.json index 5390b91409..b5f1cefe96 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -40,7 +40,27 @@ "cwd": "${workspaceFolder}/Content.YAMLLinter", "console": "internalConsole", "stopAtEntry": false - } + }, + { + "name": "Server - Release", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build - Release", + "program": "${workspaceFolder}/bin/Content.Server/Content.Server.dll", + "args": [""], + "console": "integratedTerminal", + "stopAtEntry": false + }, + { + "name": "Client - Release", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build - Release", + "program": "${workspaceFolder}/bin/Content.Client/Content.Client.dll", + "args": [], + "console": "internalConsole", + "stopAtEntry": false + }, ], "compounds": [ { @@ -50,6 +70,14 @@ "Client" ], "preLaunchTask": "build" + }, + { + "name": "Server/Client - Release", + "configurations": [ + "Server - Release", + "Client - Release" + ], + "preLaunchTask": "build - Release" } ] -} \ No newline at end of file +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 7f4efc8c9a..93ef8163cc 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -76,6 +76,26 @@ "reveal": "silent" }, "problemMatcher": "$msCompile" - } + }, + { + "label": "build - Release", + "command": "dotnet", + "type": "shell", + "args": [ + "build", + "--configuration", + "Release", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:'ForceNoAlign;NoSummary'", + ], + "group": { + "kind": "build", + "isDefault": false + }, + "presentation": { + "reveal": "silent" + }, + "problemMatcher": "$msCompile" + }, ] }