[mono-vb] example solutions to rebuild?

Paul Paukstelis shocksofmighty at gmail.com
Wed Dec 17 08:14:07 EST 2008


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



More information about the Mono-vb mailing list