[mono-vb] vbnc: compile .vb with DLL reference

Rolf Bjarne Kvinge rolflists at ya.com
Tue Jun 23 11:11:29 EDT 2009


Hi,

> >
> > The command
> >
> > man vbnc
> >
> > will tell you all the command line options.
> > The one you need just now is the -r that allows you to reference a
managed
> > library.
> >
> 
> Thanks...I'm using win32 and I've tried that:
> 
> vbnc /target:winexe /addmodule:mylib.dll Form1.vb

You want /r:mylib.dll and not /addmodule.

Rolf

> 
> That above show me VBNC30451 that indicates problem in nested class. :-
> (
> mylib.dll is C++ managed that nested a class into another one.
> Is there a way to resolve it without change code?
> --
> View this message in context: http://www.nabble.com/vbnc%3A-compile-
> .vb-with-DLL-reference-tp24056222p24161988.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb



More information about the Mono-vb mailing list