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