[mono-vb] Simple example Compiling dificulties
A Rafael D Teixeira
Thu, 27 May 2004 10:23:42 -0300
Sorry for answering late, well
On Sat, 2004-05-22 at 23:01, Mauricio Henriquez wrote:
> I try to compile a simple VB .NET example with "mono-BETA1" on
> Windows, but the following message appear:
> C:\Archivos de programa\Mono-0.91\lib\mono\1.0>mbas
> C:\monovb_pr1\gtk.vb -r gtk-sharp
> Unhandled Exception: System.IO.FileLoadException: Strong name
> validation failed
> for assembly 'Mono.GetOptions'.
> File name: "Mono.GetOptions"
You are trying to run with .NET instead of Mono, so the problem is that
the needed library Mono.GetOptions is installed to Mono GAC not .NET's.
Try using mbas.bat, or you'll have to install Mono libraries in the .NET
GAC with their Gacutil.
Hope it makes sense to you,
MONO-LIST: This denotes an assumption with our installer for windows,
that if you are installing Mono, you will use it if not exclusively, but
in a separated setup (setting environment variables, using the .BAT
wrappers and so on) from .NET's. I myself get upset lots of times trying
to run the executables and seeing the same type of error as Mauricio,
because it automatically got executed by .NET instead of Mono.
Should our windows installer put the Mono-exclusive stack in .NET's GAC
also, to be able to run mono apps flawlessly with .NET framework?
Rafael "Monoman" Teixeira
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/