[Mono-devel-list] System.DllNotFoundException in Windows.forms

Peter Dennis Bartok peter at novonyx.com
Tue Jun 14 12:47:02 EDT 2005


When try running the app after setting the following env vars:
export MONO_LOG_LEVEL=debug
export MONO_LOG_MASK=dll

The resulting output should tell you what it's looking for, and your basic 
unix skills should allow you to check if what it's looking for is there or 
not.

Peter



-----Original Message-----
From: "Hubert FONGARNAND" <informatique.internet at fiducial.fr>
To: <mono-devel-list at lists.ximian.com>
Date: 14 June, 2005 07:11
Subject: [Mono-devel-list] System.DllNotFoundException in Windows.forms


>I obtain those errors when i try to run a simple  "hello world" in
>windows.forms...
>
>Mono System.Windows.Forms Assembly [Revision: 44786; built: 2005/5/25
>22:34:45]
>
>Unhandled Exception: System.TypeInitializationException: An exception was
>thrown by the type initializer for System.Windows.Forms.XplatUI --->
>System.DllNotFoundException:
>in (wrapper managed-to-native) System.Windows.Forms.XplatUIX11:XInitThreads 
>()
>in [0x0002a]
>(at 
>/home/hubert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:173)
>System.Windows.Forms.XplatUIX11:.ctor ()
>in [0x00019]
>(at 
>/home/hubert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:195)
>System.Windows.Forms.XplatUIX11:GetInstance ()
>in [0x0004f]
>(at 
>/home/hubert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:82)
>System.Windows.Forms.XplatUI:.cctor ()--- End of inner exception stack 
>trace
>---
>
>Does someone know something about that?
>_______________________________________________
>Ce message et les éventuels documents joints peuvent contenir des 
>informations confidentielles.
>Au cas où il ne vous serait pas destiné, nous vous remercions de bien 
>vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute 
>utilisation de ce message non conforme à sa destination, toute diffusion ou 
>publication, totale ou partielle et quel qu'en soit le moyen est 
>formellement interdite.
>Les communications sur internet n'étant pas sécurisées, l'intégrité de ce 
>message n'est pas assurée et la société émettrice ne peut être tenue pour 
>responsable de son contenu.
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
> 




More information about the Mono-devel-list mailing list