[Mono-bugs] [Bug 46638][Cri] Changed - ResourceManager unable to load default resources

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 20 Jul 2003 09:53:15 -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 gonzalo@ximian.com.

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

--- shadow/46638	Sun Jul 20 08:29:12 2003
+++ shadow/46638.tmp.21456	Sun Jul 20 09:53:15 2003
@@ -1,25 +1,24 @@
 Bug#: 46638
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Critical
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: giuseppe.greco@agamura.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: ResourceManager unable to load default resources
 
-
 The .NET documentation says that the directory layout of *.resources
 files should be organized like this:
 
 bin
   + en-US
   |   + myassembly.resources
@@ -146,7 +145,28 @@
 
 The code above works fine with .NET on Windows.
 
 ------- Additional Comments From giuseppe.greco@agamura.com  2003-07-20 08:29 -------
 Created an attachment (id=4919)
 Tarball containing the source for reproducing the problem
+
+
+------- Additional Comments From gonzalo@ximian.com  2003-07-20 09:53 -------
+I get the same exception under MS runtime:
+--------------
+An unhandled exception of type
+'System.Resources.MissingManifestResourceException' ocurred in
+mscorlib.dll.
+
+Additional information: Could not find any resources appropiate for
+the specified culture (or the neutral culture) in the given assembly.
+Make sure 'hello.resources' was correctly embedded or linked into
+assembly 'hello'.
+baseName: hello locationInfo: <null> resource file name: hello.resources
+........
+---------------
+
+After gunzip/untar your file, you should compile hello.exe like:
+mcs -resource:en-US/hello.resources,hello.resources hello.cs RM.cs
+
+and that works fine under MS and Mono runtimes.