Is porting a VB.NET project to Linux possible using MonoDevelop? Or rather something else?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Kubuntu 20.04, openSUSE Tumbleweed, Solus
Posts: 85
Rep:
Is porting a VB.NET project to Linux possible using MonoDevelop? Or rather something else?
Hi there,
please don't hate me, as a beginner in terms of programming aside from some Python I really like Visual Studio and VB.NET at that seems quite fun and easy.
At work we use it to create small tools whose purposes are otherwise still going on either manually on paper or in Excel/LO Calc sheets.
Unluckily for me, I may have got the green light to run and maintain a Linux machine at work but I won't receive any help from a colleague if its about porting our projects.
So I wonder if it'd actually be possible in the first place to do so using either MonoDevelop or something else that's close to Microsoft's .NET framework and Visual Studio.
My program won't do much.
It's really just a small software that creates protocols for incoming wares at our warehouse featuring an access database that lists all the packages that reached us by date, supplier, amount and actual definition from the point on we're running the software (and that is also supposed to be accessed by my colleagues using Windows clients) and prints the result to paper if desired.
My code has not much going on so far other than the form window that's coming with a couple of dropdown menus for choosing departments and suppliers, as well as four radio buttons and a checkboxes that shall print additional information when clicked.
There's not much left either to be add, just a printer dialog and some buttons to print and reset the printed form.
Eventually, when clicking the print button those previously added information shall be written to the Access database so we can verify what happened to the stuff in future.
I'm really sorry for pointing all this out, you are probably not interested in all this.
All I want is to make clear of what sort of software we are talking about I'd like to port to Linux so it's also usable for me in the long run.
That said, can MonoDevelop do the job or do I need something else?
If as you say you like VS and VB.Net, your data comes from an Access source and goes to an Access sink, your users are all on non-Linux platforms and you want to write it in a proprietary non-Linux native language - why introduce a Linux machine at all?
So, I think the place to start would be to nail down your actual requirements and goals and see if they naturally include a Linux machine. If not, stick with what you have.
That said, if your requirements point to a Linux platofrm, then I would suggest writing the application that runs on the Linux machine in a native language and avoid trying to port the existing code altogether. As you say there isn't much that exists yet, there should not be much to rewrite. Doing so would be the key to keeping it usable for you, presumably on a Linux platform, in the long run.
And all of that said, I have avoided Mono altogether so must defer to others for specific answers. However, if you must use .NET code on Linux, that would seem to be the way to get there.
Good luck!
Last edited by astrogeek; 03-02-2018 at 02:23 PM.
Reason: tyypos
Be very careful that you do not "push Linux" because you want it, because you think it's cool, etc. ... when the stated needs and orientation of the organization that you serve do not align with what you want. There's nothing per se wrong with what Microsoft has done: they've sold millions of copies of their system and there's actually a reason for it. They earned those billions of dollars, fair and square.
Although means exist for VB, C#, et al to be "ported," that's not really what their designers intended. Windows is really a vertically-integrated ecosystem of software components all produced by one vendor. Linux, even slightly under-the-covers, is a very different beast. The decision to introduce Linux into a Windows shop should be made soberly and at a very high level within the organization – not by a programmer of the line, however earnest (s)he might be. Sometimes it makes business sense; often, it doesn't.
Last edited by sundialsvcs; 03-06-2018 at 09:04 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.