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);