dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Winforms samples on .NET


From: Rhys Weatherley
Subject: Re: [DotGNU]Winforms samples on .NET
Date: Mon, 16 Jun 2003 12:21:58 +1000
User-agent: KMail/1.4.3

On Monday 16 June 2003 11:29 am, Simon Guindon wrote:
> So I'm trying to run the pnet compiled winforms examples on .NET, just
> to see if they work, and I'm getting this spit out in an exception:
>
> Unhandled Exception: System.IO.FileNotFoundException: File or assembly
> name System.Windows.Forms, or one of its dependencies, was not found.
> File name: "System.Windows.Forms"

It's Microsoft's daft assembly resolution policy.  Unless the version numbers 
and public key tokens exactly match, it goes nuts.  Of course, any 
implementation other than Microsoft's is going to have different version 
numbers and tokens!

It may be possible to adjust things in the application configuration file so 
that version 0.0.0.0 gets remapped to whatever MS wants the version so be.  
But I'm no app config file expert.

Does anyone know how I can put a directive in an assembly to say "match 
anything - I don't care".

Cheers,

Rhys.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]