[Mono-dev] Possible bug in System.Windows.Forms

Valentin Sawadski valentin.sawadski at gmx.de
Sun Sep 2 13:09:41 EDT 2007


your app seems to target .Net 1.0 which is not supported by Mono.
Recompile it against .Net 1.1 or 2.0 and everything should be fine :-)

Kind Regards,
Valentin S.

On Sun, 2007-09-02 at 10:32 -0500, Brandon Perry wrote:
> Hi, when I try to run an assembly using the System.Windows.Forms dll, I
> get the following error.
> radiohead at radiohead-laptop:~/Desktop/MoMA$ mono
> '/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe' 
> **
> (/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe:20402): WARNING **: The following assembly referenced from /home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe could not be loaded:
>      Assembly:   System.Windows.Forms    (assemblyref_index=1)
>      Version:    1.0.3300.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/radiohead/Desktop/printinginNet/bin/Debug).
> **
> (/home/radiohead/Desktop/printinginNet/bin/Debug/PrintingSamples.exe:20402): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
> The entry point method could not be loaded
> I tested it with MoMA and it said all was good. I ran a grep on gacutil
> -l to make sure the System.Windows.Forms was installed and it is. Any
> thoughts?
> _______________________________________________
> 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