[Mono-list] where is System.Windows.Forms ?

Jonathan Pryor jonpryor at vt.edu
Thu Apr 27 07:17:59 EDT 2006


On Thu, 2006-04-27 at 08:53 +0200, rainer.queck at qutronic.de wrote:
> Using [MonoDevelop] I generated a dfault GTK# 2.0 Project (empty main
> window). Next I wanted to check on the System.Windows.Forms, but
> typing in "System." code in sight did not come up with "Windows".
> 
> What do I have to do to get SWF on linux?

You're probably not referencing the correct assemblies.

Within MonoDevelop, click the Solution tab, right-click the References
section, and click Edit References.  Within the Edit References window,
select the Global Assembly Cache tab, and make sure System.Windows.Forms
is selected.  Click OK.

Then, wait.  If this is the first time you've selected the
System.Windows.Forms assembly, you'll see a little "gear" icon in the
status bar.  Wait until this icon disappears.  (MD is reading the
System.Windows.Forms assembly to build the code completion DB.)

Once the gear disappears, you should get code completion for
System.Windows.Forms.  (At least, that worked for me, in MD 0.9.)

 - Jon




More information about the Mono-list mailing list