I have been developing an application in Visual Studio 2003 which makes use of a toolbar.  I am able to compile this under Mono but when I attempt to display the Window I get the following errors reported...

Unhandled Exception: System.Resources.MissingManifestResourceException: Could not find any resource appropiate for the specified culture or its parents. Make sure "EmailLibrary.EmailEditor.resources" was correctly embedded or linked into assembly "EmailLibrary".
in <0x00300> System.Resources.ResourceManager:InternalGetResourceSet (System.Globalization.CultureInfo culture, Boolean Createifnotexists, Boolean tryParents)
in <0x00432> System.Resources.ResourceManager:InternalGetResourceSet (System.Globalization.CultureInfo culture, Boolean Createifnotexists, Boolean tryParents)
in <0x00432> System.Resources.ResourceManager:InternalGetResourceSet (System.Globalization.CultureInfo culture, Boolean Createifnotexists, Boolean tryParents)
in <0x00058> System.Resources.ResourceManager:GetObject (System.String name, System.Globalization.CultureInfo culture)
in <0x00010> System.Resources.ResourceManager:GetObject (System.String name)


I have used the following to compile
 
resgen /compile *.resx
 
mcs -target:library -warn:0 -define:MONO -out:../Bin/EmailLibrary.dll -r:System.Windows.Forms -r:System.Drawing -r:System.Data -r:FolderLibrary -lib:../Bin -resource:AccountDlg.resources -resource:AccountsDlg.resources -resource:EmailEditor.resources -resource:SendReceiveDlg.resources -resource:EmailHeader.resources -resource:EmailViewControl.resources -recurse:*.cs

I don't understand why the resources are not available when they have been added.


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to