[Mono-bugs] [Bug 75224][Maj] Changed - AssemblyName culture bugs and missing PublicKeyToken=null

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Nov 19 19:36:04 EST 2005


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 kornelpal at hotmail.com.

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

--- shadow/75224	2005-11-19 19:34:58.000000000 -0500
+++ shadow/75224.tmp.31416	2005-11-19 19:36:04.000000000 -0500
@@ -3,21 +3,21 @@
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
-Priority: Normal
+Priority: Major
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: kornelpal at hotmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: gacutil installs neutral culture satellite assemblies as specific culture
+Summary: AssemblyName culture bugs and missing PublicKeyToken=null
 
 For example installs assembly with culture "hu" as "hu-hu" istead of "hu".
 
 Should be considered to use the original culture name ("hu-HU") instead 
 of the lower case version.
 
@@ -73,6 +73,47 @@
 default secific culture is available.
 
 ------- Additional Comments From kornelpal at hotmail.com  2005-11-19 19:26 -------
 Created an attachment (id=16090)
 AssemblyCultureTest.zip
 
+
+------- Additional Comments From kornelpal at hotmail.com  2005-11-19 19:36 -------
+As you can see in the attached test AssemblyName is not MS.NET 
+compatible:
+Assembly.FullName:
+Expected: AssemblyCulture_custom, Version=0.0.0.0, Culture=custom, 
+PublicKeyToken=null
+BUG Got: <System.ArgumentException>
+Expected: AssemblyCulture_null, Version=0.0.0.0, Culture=neutral, 
+PublicKeyToken=null
+BUG Got: AssemblyCulture_null, Version=0.0.0.0, Culture=neutral
+Expected: AssemblyCulture_en, Version=0.0.0.0, Culture=en, 
+PublicKeyToken=null
+BUG Got: AssemblyCulture_en, Version=0.0.0.0, Culture=en-US
+Expected: AssemblyCulture_en-US, Version=0.0.0.0, Culture=en-US, 
+PublicKeyToken=null
+BUG Got: AssemblyCulture_en-US, Version=0.0.0.0, Culture=en-US
+Assembly.GetName:
+Expected: <System.ArgumentException>
+OK Got: <System.ArgumentException>
+Expected: AssemblyCulture_null, Version=0.0.0.0, Culture=neutral, 
+PublicKeyToken=null
+BUG Got: AssemblyCulture_null, Version=0.0.0.0, Culture=neutral
+Expected: AssemblyCulture_en, Version=0.0.0.0, Culture=en, 
+PublicKeyToken=null
+BUG Got: AssemblyCulture_en, Version=0.0.0.0, Culture=en-US
+Expected: AssemblyCulture_en-US, Version=0.0.0.0, Culture=en-US, 
+PublicKeyToken=null
+BUG Got: AssemblyCulture_en-US, Version=0.0.0.0, Culture=en-US
+
+The most important difference is that specific culture is returned 
+even for neutral cultures that causes a lot of issues including the 
+previously reported gacutil bug.
+
+In addition Assembly.FullName is probably not implemented using 
+AssemblyName in MS.NET becuse it supports custom culture names while 
+AssemblyName not.
+
+Originally I was doing tests on culture names but I found that 
+PublicKeyToken=null is missing from Assembly.FullName as well as 
+from AssemblyName.FullName.


More information about the mono-bugs mailing list