[Mono-list] question

Jörg Rosenkranz joergr@voelcker.com
Wed, 27 Aug 2003 17:54:21 +0200


> From: Jonathan Pryor [mailto:jonpryor@vt.edu] 
>
> So, in principal, you should be able to take your 
> VS.NET-compiled VB app
> and run it under mono.  You just need to make sure that:
>  1. You only use mono-implemented/supported functionality 
> (the hardest 
>     requirement)

It helps a lot to set 'Option Strict On' in your VB.net code.
This eliminates the implicit calls to the not implemented class
Microsoft.VisualBasic.CompilerServices.ObjectType (and maybe
some others too).

Drawback of this option is that you are more restricted than 
without it. You can only use strongly typed variables like in 
C#. But that may also help in bug prevention :)

Jörg.