Rolf Bjarne Kvinge wrote:
> I keep forgetting about this.
>
> It's a bug in MonoDevelop:
> https://bugzilla.novell.com/show_bug.cgi?id=431112
>
> The project-level imports aren't loaded and passed to the compiler.
>
> You can right-click the project, select compiler options, and in the fields
> for additional arguments to the compiler put:
> -imports:System.Windows.Forms,System.Drawing,...
>
> Rolf
>
>   
Hi Rolf,

Thanks for the help. Unfortunately, when I try to go to code generation 
under project options in MD, I get an unhandled exception. I recently 
compiled MD on another machine and I will see what that does. I went 
ahead and added the -imports to the command line and was returned errors 
that are the same as described here:
http://go-mono.com/forums/#nabble-td20290506

I tried adding the -define=_MYTYPE to the build on the command line, but 
it doesn't like it:
Warning : VBNC2009: the option define=_MYTYPE="WindowsForms" was not 
recognized - ignored

_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb

Reply via email to