[Mono-list] GDI+ status: InvalidParameter

Dimitri Gigault dimitri.gigault at free.fr
Wed Feb 25 01:52:47 EST 2009


> 
> This looks like you have Microsoft's System.Windows.Forms.dll on your 
> system somehow.  Mono's does not contain a class called 
> SafeNativeMethods or a method called RegisterWindowMessage.


  yes I  put the System.Windows.Forms.dll on the same directory. if not
i got this error : 
** (CalculPoint.exe:32623): WARNING **: The following assembly
referenced from /home/dimitri/Documents/CalculPoints/CalculPoint.exe
could not be loaded:
     Assembly:   System.Windows.Forms    (assemblyref_index=2)
     Version:    2.0.0.0
     Public Key: b77a5c561934e089
The assembly was not found in the Global Assembly Cache, a path listed
in the MONO_PATH environment variable, or in the location of the
executing assembly (/home/dimitri/Documents/CalculPoints/).


** (CalculPoint.exe:32623): WARNING **: Could not load file or assembly
'System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.

** (CalculPoint.exe:32623): WARNING **: Missing method
EnableVisualStyles in
assembly /home/dimitri/Documents/CalculPoints/CalculPoint.exe, type
System.Windows.Forms.Application

Unhandled Exception: System.IO.FileNotFoundException: Could not load
file or assembly 'System.Windows.Forms, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies.
File name: 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'


The fact is that I have not rebuild my program with mono ( but MONA says
it's ok)...
I will got the last version of MonoDevelop, and I will build my program
under Ubuntu...

Thank you...
Dimitri



More information about the Mono-list mailing list