[Mono-bugs] [Bug 57707][Nor] New - mcs allows localization of executables

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 27 Apr 2004 06:13:25 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lluis@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=57707

--- shadow/57707	2004-04-27 06:13:25.000000000 -0400
+++ shadow/57707.tmp.16457	2004-04-27 06:13:25.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 57707
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lluis@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs allows localization of executables
+
+MCS allows localization of executables, but csc does not. Test case:
+
+using System;
+using System.Reflection;
+
+[assembly: AssemblyCulture("es")]
+[assembly: AssemblyVersion("1.2.3456.7")]
+
+namespace NS 
+{
+	class MyClass 
+	{
+		static void Main ()
+		{
+			Console.WriteLine (typeof(MyClass).Assembly.FullName);
+		}
+	}
+}
+
+Actual Results:
+Compilation successful.
+
+Expected Results:
+test.cs(10,12): error CS0647: Error emitting
+        'System.Reflection.AssemblyCultureAttribute' attribute -- 'Executables
+        cannot be localized, Culture should always be empty'