From 236bbb672767884ab4d84630eae03007f630637d Mon Sep 17 00:00:00 2001 From: wixoaGit Date: Wed, 19 Jul 2023 22:06:34 -0400 Subject: [PATCH] Build the server and client in Tools mode --- src/extension.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index c5c0993..24af3ae 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -380,7 +380,8 @@ class ODSourceInstallation implements OpenDreamInstallation { TaskNames.SOURCE, new ProcessExecution("dotnet", [ "build", - `${this.path}/OpenDreamServer`, + "-c", "Tools", + `${this.path}/OpenDreamClient`, ]), ))); return { @@ -413,6 +414,7 @@ class ODSourceInstallation implements OpenDreamInstallation { new ProcessExecution("dotnet", [ "run", "--project", `${this.path}/OpenDreamServer`, + "-c", "Tools", "--", "--cvar", `server.port=0`, "--cvar", `opendream.debug_adapter_launched=${params.debugPort}`, @@ -440,6 +442,7 @@ class ODWorkspaceFolderInstallation extends ODSourceInstallation { TaskNames.SOURCE, new ProcessExecution("dotnet", [ "build", + "-c", "Tools", `${this.path}/OpenDreamServer`, ]), )));