merged from mcs
[mono.git] / mcs / gmcs / rootcontext.cs
index d851e5c4f4a79962cb75d4ff006e95e8d4dc6672..ee23d7713bcd9fc2cf312abaf92d8d56f41cd91d 100644 (file)
@@ -66,7 +66,7 @@ namespace Mono.CSharp {
                public static int WarningLevel;
 
                public static Target Target;
-               public static string TargetExt = ".exe";
+               public static string TargetExt;
 
                public static bool VerifyClsCompliance = true;
 
@@ -114,6 +114,7 @@ namespace Mono.CSharp {
                        StrongNameDelaySign = false;
                        MainClass = null;
                        Target = Target.Exe;
+                       TargetExt = ".exe";
                        Version = LanguageVersion.Default;
                        Documentation = null;
                        impl_details_class = null;