Mono develop or convert VB.net?
It seems to me at this point that you have 2 options in getting a VB.net
project to run under mono.
(1) Convert your VB program to C# -- run moma or just go ahead and try the
C#.net code with mono.
I did that and getting close except for some errors to work out.
or --
(2) Use mono develop and actually either write the code in VB.net (or copy and paste my exisiting VB.net code)?
I wonder if there are any advantages to method #2 ? (probably?)
Especially considering it's actually being compiled by mono?
I (of course), especially like the copy and paste idea.
Thanks for any answers.
Re: Mono develop or convert VB.net?
Does Mono suport VB.NET? To the best of my knowledge, only C# has been ported over. I don't think MS has released VB specs to the open source community. So, if it were me, I'd probably use C# right from the get go, develop and do initial debugging in VS, then copy the files over to Mono and compile there.
-tg
Re: Mono develop or convert VB.net?
If you look at mono develop (version 2.0 -- the latest), when you open
"start new solution" the template lists VB.NET at the bottom and gives you
the choice of empty, console or GTK.
Just like the C# choices.
I understand there are limitations with it's VB.NET? -- but wondering if
the approach I asked about is something that anyone has done and can compare?
If I find the time today, I thought I might copy and paste some simple
code into it and see about the "error" situation.
Re: Mono develop or convert VB.net?
Hey,
Mono does support VB.Net, it is just that the C# support is more mature:
http://www.mono-project.com/Visual_Basic
Gary
Re: Mono develop or convert VB.net?
Gary --
Do you know what I'm getting at here?
If I try to put my VB code INTO mono develop and have it compile, rather than
using a converter (developer fusion etc) to see if the resultant C# will run under mono....
Do you think I may have better results?
(Of course, I guess I'll just have to shut up and try it).
Re: Mono develop or convert VB.net?
Hey,
I can't say that I have ever tried using VB.Net which mono, however, theory states that it should work.
Have you directly running the VB.Net assembly directly against mono? Does it not work? If so, what does Moma say that isn't supported?
gary
Re: Mono develop or convert VB.net?
Just to finish the thread -- I decided to try Gambas and just rewrite the
project for Linux.
Too much of a headache with mono -- although it came very close -- I
just don't have the gray matter right now to decipher and fix the errors.
Besides, I'd still have to use mono with Linux whereas with Gambas or C# I can just have Linux run it, period.
Re: Mono develop or convert VB.net?
Hey,
I hadn't heard of Gambas before. Was it any good?
Aside from the whole VB issue that you are having, how does it compare to MonoDevelop in terms of usability?
Gary
Re: Mono develop or convert VB.net?
I think gambas is a language like vb.net or c++ or c#.
Jduncanator