[MonoDevelop] Monodevelop and Microsoft VB 2005 created programs

Brian Smart brian.smart at blueyonder.co.uk
Fri Oct 9 05:44:08 EDT 2009


Hello Michael,
Now I am more confused! As I understand from Lluis, I need to have a copy of
MonoDevelop installed on a Linux m/c to be able to run an exe file created
on a Windows m/c with VB2005.
The simple program I created and checked with MoMA (and found no problems)
will not run on a Linux m/c by just copying the exe file to the Linux m/c.
Or at least I can't make it run.
Am I still missing something?

Regards

Brian Smart

-----Original Message-----
From: Michael Hutchinson [mailto:m.j.hutchinson at gmail.com] 
Sent: 08 October 2009 20:59
To: Brian Smart
Cc: lluis at novell.com; monodevelop-list at lists.ximian.com
Subject: Re: [MonoDevelop] Monodevelop and Microsoft VB 2005 created
programs

On Thu, Oct 8, 2009 at 12:12 PM, Brian Smart
<brian.smart at blueyonder.co.uk> wrote:
> Hello Lluis,
> Thanks for the info, I now understand. It has raised another point, I
wanted to be able to create a program using my VB2005 programs that will run
natively on Linux. I am beginning to think that is not possible.
>
> If I go back to my original thoughts, I was hoping that I could create
Linux programs using a combination of VB2005 and MonoDevelop.

I really don't see what the problem is.

You can use VB.NET 2005 to create Mono-compatible apps using *either*
Visual Studio or MonoDevelop, or both.

The compiled binaries, i.e. the exe and dll files, can be used on both
Mono and on .NET. You do not need to recompile. Mono is
binary-compatible with .NET.

However, your *code* may be doing things that are not Linux/Mac
compatible, e.g. using "\" for paths, or expecting filename to be
case-insensitive, or using APIs that have not been implemented in
Mono. This is why we recommend you scan the exe with MoMA, because it
can find many such compatibility problems

MD has the disadvantage that you would not have VB code completion,
but it can run on Linux and Mac as well and Windows. It can open/save
the same project format that VS does, so nothing's stopping you from
using both on the same projects.

-- 
Michael Hutchinson
http://mjhutchinson.com




More information about the Monodevelop-list mailing list