[Mono-dev] Cannot find resources with Mono on ARM

Tomi Valkeinen tomba at baal.bat.org
Wed Jan 11 12:08:30 EST 2006


Hi,

I'm trying to run applications on ARM device with mono 1.1.12.1. Some of 
them work ok, but some of them fail, giving an error about resource files:

Spud:~/sample# mono glade-test.exe

Unhandled Exception: System.ArgumentException: Cannot get resource file 
'test.glade'
Parameter name: resource_name
in <0x00248> Glade.XML:.ctor (System.Reflection.Assembly assembly, 
System.String resource_name, System.String root, System.String domain)
in <0x00053> GladeSamples.GladeTest:.ctor ()
in <0x0002f> GladeSamples.GladeTest:Main (System.String[] args)


Spud:~/bless-0.4.0/src# mono bless.exe

Unhandled Exception: System.ArgumentException: Cannot get resource file 
'bless.glade'
Parameter name: resource_name
in <0x00248> Glade.XML:.ctor (System.Reflection.Assembly assembly, 
System.String resource_name, System.String root, System.String domain)
in <0x000a3> BlessMain:.ctor (System.String[] args)
in <0x0002f> BlessMain:Main (System.String[] args)


The same binaries work fine on x86 version of mono 1.1.12.1. As far as I 
understand, the resources are compiled inside the exe, but for some reason 
they are not found. Any ideas how to debug this further?

  Tomi Valkeinen



More information about the Mono-devel-list mailing list