[mono-vb] Building Project with VBNC

Ozzapoo ozzamon3000 at gmail.com
Thu Oct 30 15:45:35 EDT 2008


Is there any way I can make VBNC output native linux assemblies? (Not binary
applications)

Rolf Bjarne Kvinge-2 wrote:
> 
> Hi,
>>
>> Is there any way I can compile a Windows Forms Solution/Project using
>> VBNC and make it able to be run natively on linux?
>> --
> 
> First: you can use the same assemblies VS generates, just copy them to a
> linux machine and you should be able to execute them (typing 'mono
> myprog.exe' in a terminal)
> 
> Now if you want to use vbnc, that's also possible. Vbnc is mono's
> equivalent
> of MS' vbc compiler, it takes exactly the same arguments. ('vbnc /?' will
> get you some basic help, otherwise you can search msdn for vbc, the same
> information is applicable to vbnc too). 
> 
> The easy way to get the command line arguments is to compile in VS, look
> at
> the output window/tab in VS, it will contain the arguments passed to vbc
> ('vbc file1.vb ...'), copy the entire line, paste in a linux terminal,
> replace 'vbc' with 'vbnc' and hit enter. If the compiler isn't able to
> compile, it's most probably a compiler bug and bug reports are welcome :)
> 
> Rolf
> 
> 
>> View this message in context: http://www.nabble.com/Building-Project-
>> with-VBNC-tp20244410p20244410.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
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
> 
> 

-- 
View this message in context: http://www.nabble.com/Building-Project-with-VBNC-tp20244410p20254056.html
Sent from the Mono - VB mailing list archive at Nabble.com.



More information about the Mono-vb mailing list