[Mono-list] NET Compact Framework Assembly on Mono

PeterC peter at ecutalk.com
Wed Nov 3 23:21:08 EDT 2010



goingmono wrote:
> I have a assembly built for the .NET Compact Framework 2 that uses
> Windows.Forms (Compact)
> 
> When I load this assembly from a full .Net application on MS Windows it
> automatically uses the full .Net Framework Windows.Forms and on PocketPC
> the Compact .Net Framework. 
> 
> Mono seems to get confused (I think it does not know about the
> Windows.Forms public key ..) It seems to be looking for the Compact
> Windows.Forms assembly and cannot find it.

have you had any luck working this out?

i've also got .net compact framework application that fails with this error:

Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=969db8053d3322ac
, Retargetable=Yes' or one of its dependencies.
The entry point method could not be loaded

the publickeytoken is different for .net CF compared to full .net framework,
perhaps this is source of the problem (i.e. mono is not aware of .net CF
assemblies?)

Peter
-- 
View this message in context: http://mono.1490590.n4.nabble.com/NET-Compact-Framework-Assembly-on-Mono-tp1507389p3026501.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list