From c569a06d74e3358f6c2f644e2fdfe77df8396310 Mon Sep 17 00:00:00 2001 From: Morgan Cromell Date: Wed, 16 Jan 2019 09:59:59 +0100 Subject: [PATCH] Removed console window on export --- thomas/ThomasEditor/utils/Exporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thomas/ThomasEditor/utils/Exporter.cs b/thomas/ThomasEditor/utils/Exporter.cs index d7af76be..9ad90455 100644 --- a/thomas/ThomasEditor/utils/Exporter.cs +++ b/thomas/ThomasEditor/utils/Exporter.cs @@ -38,7 +38,7 @@ public static bool ExportProject(string path, ThomasEngine.Project project) CompilerParameters parameters = new CompilerParameters(); parameters.GenerateExecutable = true; parameters.IncludeDebugInformation = false; - parameters.CompilerOptions = @"/optimize+ /platform:x64 /target:exe " + @extraCommands; + parameters.CompilerOptions = @"/optimize+ /platform:x64 /target:winexe " + @extraCommands; parameters.OutputAssembly = dir + "\\Bin\\" + fileName; parameters.ReferencedAssemblies.Add("System.dll");