diff --git a/.vscode/launch.json b/.vscode/launch.json index 47fafafae87..543bd7dc48d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -35,6 +35,28 @@ "console": "internalConsole", "stopAtEntry": false }, + //# ADT-UPD-Start + { + "name": "Client (Release)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build (Release)", + "program": "${workspaceFolder}/bin/Content.Client/Content.Client.dll", + "args": [], + "console": "internalConsole", + "stopAtEntry": false + }, + { + "name": "Client (DebugOpt)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build (DebugOpt)", + "program": "${workspaceFolder}/bin/Content.Client/Content.Client.dll", + "args": [], + "console": "internalConsole", + "stopAtEntry": false + }, + //# ADT-UPD-End { "name": "Server", "type": "coreclr", @@ -56,7 +78,27 @@ "console": "internalConsole", "stopAtEntry": false }, - //# ADT-UPD-End + { + "name": "Server (Release)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build (Release)", + "program": "${workspaceFolder}/bin/Content.Server/Content.Server.dll", + "args": [], + "console": "integratedTerminal", + "stopAtEntry": false + }, + { + "name": "Server (DebugOpt)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build (DebugOpt)", + "program": "${workspaceFolder}/bin/Content.Server/Content.Server.dll", + "args": [], + "console": "internalConsole", + "stopAtEntry": false + }, + //# ADT-UPD-End 03032026-ToolsBuilder { "name": "YAML Linter", "type": "coreclr", @@ -85,7 +127,23 @@ "Client (Tools)" ], "preLaunchTask": "build (Tools)" + }, + { + "name": "Server/Client (Release)", + "configurations": [ + "Server (Release)", + "Client (Release)" + ], + "preLaunchTask": "build (Release)" + }, + { + "name": "Server/Client (DebugOpt)", + "configurations": [ + "Server (DebugOpt)", + "Client (DebugOpt)" + ], + "preLaunchTask": "build (DebugOpt)" } - //# ADT-UPD-End + //# ADT-UPD-End 03032026-ToolsBuilder ] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index a0215d87157..026f98b8a96 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -42,7 +42,47 @@ }, "problemMatcher": "$msCompile" }, - //# ADT-UPD-End + { + "label": "build (Release)", + "command": "dotnet", + "type": "shell", + "args": [ + "build", + "--configuration", + "Release", + "/property:GenerateFullPaths=true", // Ask dotnet build to generate full paths for file names. + "/consoleloggerparameters:NoSummary" // Do not generate summary otherwise it leads to duplicate errors in Problems panel + ], + "group": { + "kind": "build", + "isDefault": false + }, + "presentation": { + "reveal": "silent" + }, + "problemMatcher": "$msCompile" + }, + { + "label": "build (DebugOpt)", + "command": "dotnet", + "type": "shell", + "args": [ + "build", + "--configuration", + "DebugOpt", + "/property:GenerateFullPaths=true", // Ask dotnet build to generate full paths for file names. + "/consoleloggerparameters:NoSummary" // Do not generate summary otherwise it leads to duplicate errors in Problems panel + ], + "group": { + "kind": "build", + "isDefault": false + }, + "presentation": { + "reveal": "silent" + }, + "problemMatcher": "$msCompile" + }, + //# ADT-UPD-End 03032026-ToolsBuilder { "label": "build-yaml-linter", "command": "dotnet",