Article View: borland.public.csharpbuilder.language.csharp
Article #8Re: C# for Compact FrameWork - LoadTypeException
From: Marc Rohloff TeamB
Date: Fri, 21 Apr 2006 00:16
Date: Fri, 21 Apr 2006 00:16
16 lines
1666 bytes
1666 bytes
On Thu, 20 Apr 2006 16:58:17 -0600, Nigel Scott wrote: > I get this exception consistently with the message: > "could not load type System.Windows.Forms.Form from assembly > System.Windows.Forms, Version=1.0.5000.0,Culture=neutral, PublicKey > Token=B77a5C561934E089" > when I load any app on to PDA or Emulator. You need to instruct the C# Compiler to compile against the CF assemblies. I wrote this article for BDN which should get you started: http://bdn.borland.com/article/0,1410,32950,00.html -- Marc Rohloff [TeamB] marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID:
<1ugce8sztpc1b.dlg@dlg.marcrohloff.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<44481214@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,118eedc651a9e694 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Marc Rohloff [TeamB]" <"on request"> Subject: Re: C# for Compact FrameWork - LoadTypeException Newsgroups: borland.public.csharpbuilder.language.csharp User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <44481214@newsgroups.borland.com> Date: Thu, 20 Apr 2006 20:16:40 -0400 Message-ID: <1ugce8sztpc1b.dlg@dlg.marcrohloff.com> X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR X-Antivirus: avast! (VPS 0616-3, 04/20/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 65.31.1.121 X-Trace: newsgroups.borland.com 1145578596 65.31.1.121 (20 Apr 2006 17:16:36 -0700) Lines: 16 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail