From d05de9b5eaf7f4cf854fc5570b83f25b82adec57 Mon Sep 17 00:00:00 2001 From: Victor Chelaru Date: Tue, 9 Jul 2024 05:53:04 -0600 Subject: [PATCH] Added code to explicitly remove ObjectCreationWindow so old projects compile without having to remove it manually. --- .../GameCommunicationPlugin/GameCommunicationPlugin.csproj | 2 +- .../GlueControl/CodeGeneration/EmbeddedCodeManager.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/FRBDK/Glue/GameCommunicationPlugin/GameCommunicationPlugin.csproj b/FRBDK/Glue/GameCommunicationPlugin/GameCommunicationPlugin.csproj index 5c6a1fdb0..ae31a8e94 100644 --- a/FRBDK/Glue/GameCommunicationPlugin/GameCommunicationPlugin.csproj +++ b/FRBDK/Glue/GameCommunicationPlugin/GameCommunicationPlugin.csproj @@ -125,7 +125,6 @@ - @@ -198,6 +197,7 @@ + diff --git a/FRBDK/Glue/GameCommunicationPlugin/GlueControl/CodeGeneration/EmbeddedCodeManager.cs b/FRBDK/Glue/GameCommunicationPlugin/GlueControl/CodeGeneration/EmbeddedCodeManager.cs index 4a649d0cf..b27929e31 100644 --- a/FRBDK/Glue/GameCommunicationPlugin/GlueControl/CodeGeneration/EmbeddedCodeManager.cs +++ b/FRBDK/Glue/GameCommunicationPlugin/GlueControl/CodeGeneration/EmbeddedCodeManager.cs @@ -92,6 +92,9 @@ public static void EmbedAll(bool fullyGenerate) // This was a typo in old projects: RemoveEmbeddedFile("Runtime/DynamicEntitys.Generated.cs", saveAfterRemoving:true); + // This is no longer used, so get rid of it: + RemoveEmbeddedFile("Forms/ObjectCreationWindow.Generated.cs", saveAfterRemoving:true); + // this was moved: FilePath oldGameConnectionManagerLocation = GlueState.Self.CurrentGlueProjectDirectory + "GlueCommunication/GameConnectionManager.Generated.cs";