[Mono-bugs] [Bug 68259][Wis] New - ResourceManager stops finding Satellite Assemblies after first call to GetResourceSet

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 13 Oct 2004 16:06:23 -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 anmar@gmx.net.

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

--- shadow/68259	2004-10-13 16:06:23.000000000 -0400
+++ shadow/68259.tmp.14043	2004-10-13 16:06:23.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 68259
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: anmar@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ResourceManager stops finding Satellite Assemblies after first call to GetResourceSet
+
+Description of Problem:
+
+The first call to GetResourceSet in a ResourceManager finds the ResourceSet
+for the given culture, but next calls to GetResourceSet (for other
+cultures) returns null.
+
+Steps to reproduce the problem:
+1. Unzip attached test case
+2. mcs /out:Test.exe test.cs
+3. mkdir en
+4. al /nologo /target:library
+/embed:Resource1.resources,Resource1.en.resources /culture:en
+/out:en/Test.resources.dll
+5. mkdir fr
+6. al /nologo /target:library
+/embed:Resource1.resources,Resource1.fr.resources /culture:fr
+/out:fr/Test.resources.dll
+7. mono Test.exe
+
+Actual Results:
+Only the first tested culture is found (English in this case).
+
+Expected Results:
+Both English and French should be found
+
+Additional Information:
+I have tested this under mono 1.0.2 under linux and windows. This same test
+with .NET 1.1 works as expected.