[Mono-winforms-list] Trying to use Managed.Windows.Forms

Dean Geddes dean.geddes at primus.ca
Mon May 10 16:11:16 EDT 2010


 

	  BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
Hi Jonathan, 

	Thank you!  Adding Mono.Posix to the References fixed things for my
Mac.  Now I must find out why it's still looking for
System.Windows.Forms on my XP machine. 

	Cheers!
 Dean
 On Mon 10/05/10 6:48 PM , Jonathan Pobst monkey at jpobst.com sent:
  On 5/10/2010 1:03 PM, Dean Geddes wrote: 
 > Hi Jonathan, 
 > 
 > On Webpage http://www.mono-project.com/Guide:_Debugging_With_MWF
[1] it says: 
 > 
 > When debugging Winforms applications for Mono, many times it is
easier 
 > if you can debug with Managed.Windows.Forms (MWF - Mono's version
of 
 > System.Windows.Forms), instead of Microsoft's System.Windows.Forms.
To 
 > accomplish this, you can load the MWF project file into your
solution, 
 > which will allow you to debug into Mono's MWF code. 
 > 
 > This is what I am attempting to do but with little success. 
 The project files are likely out of date, so you may have to fix them

 first, like adding a reference to Mono.Posix. 
 You'll also have to do update the reference to MWF for any assembly
that 
 references System.Windows.Forms. If you are using 3rd party
assemblies 
 or assemblies you do not have the source for and make them all point
to 
 MWF, you will end up with errors like you saw that it cannot cast 
 between Control and Control, as one is the SWF Control, and the other
is 
 the MWF Control. 
 Jonathan 


Links:
------
[1]
https://webmail.primus.ca/parse.php?redirect=http%3A%2F%2Fwww.mono-project.com%2FGuide%3A_Debugging_With_MWF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20100510/9140f11a/attachment.html 


More information about the Mono-winforms-list mailing list