From 4c276306f732695a205cd42a457f4047d079a317 Mon Sep 17 00:00:00 2001 From: johnW_ret <19534013+johnW-ret@users.noreply.github.com> Date: Thu, 28 Aug 2025 10:15:59 -0500 Subject: [PATCH] Add default for `Platform=AnyCPU` --- Editor/FSharpProjectGenerator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Editor/FSharpProjectGenerator.cs b/Editor/FSharpProjectGenerator.cs index 387f229..0779a4b 100644 --- a/Editor/FSharpProjectGenerator.cs +++ b/Editor/FSharpProjectGenerator.cs @@ -28,6 +28,7 @@ public static string GenerateFsproj() defaultProperties.AddElement("Configuration", "Condition", " '$(Configuration)' == '' ", "Debug"); defaultProperties.AddElement("Platforms", "Editor;Player"); defaultProperties.AddElement("Platform", "Condition", " '$(Platform)' == '' ", "Editor"); + defaultProperties.AddElement("Platform", "Condition", " '$(Platform)' == 'AnyCPU' ", "Editor"); defaultProperties.AddElement("AssemblyName", AssemblyName); defaultProperties.AddElement("OutputType", "Library"); defaultProperties.AddElement("OutputPath", OutputDir);