[Mono-list] Newbe with really stupid question...

Jonathan Pryor jonpryor@vt.edu
29 Oct 2002 12:13:24 -0500

Simple guess: you wrote you app in Visual Basic.NET.

By default, VB.NET requires an additional dll to run
(Microsoft.VisualBasic.dll).  That dll is not fully implemented on Mono
at this point in time, preventing your application from running.

You have two choices: Wait until Mono implements
Microsoft.VisualBasic.dll, or remove the Microsoft.VisualBasic assembly
from your Visual Studio project and recompile the project.  If you're
using any of the functions from Microsoft.VisualBasic.dll, you'll get
compiler errors which will need to be fixed.

Once your code compiles without using Microsoft.VisualBasic.dll, it
should be able to run under Mono.

 - Jon

On Tue, 2002-10-29 at 11:44, Ben Clewett wrote:
> I have made an app which doen't run.  No obvious reason, well not to me.
> I compiled it on Windows as 'Release' to make the code.
> FTP'd it to my linux box, and simply typed:
> mono prog.exe
> And got back:
> ** (prog.exe:5219): WARNING **: Could not find assembly 
> Microsoft.VisualBasic
> Can not open image prog.exe
> Please feal free to comment on my stupidity, or otherwise let me know 
> how to make my app run...
> Thanks,
> ---------------------------------------------------------------------
> Ben Clewett, B.Clewett@roadrunner.uk.com
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list