[Mono-list] AW: [mono-vb] Simple example Compiling dificulties
Fri, 28 May 2004 09:27:25 +0200
> THE QUESTION:
> Should our windows installer put the Mono-exclusive stack in .NET's=20
> GAC also, to be able to run mono apps flawlessly with .NET framework?=20
I'd vote for it! MS .NET need a little bit more of power - powered by =
Mono (yeah, yeah, yeah ;-)
Von: firstname.lastname@example.org =
[mailto:email@example.com] Im Auftrag von A Rafael D =
Gesendet: Donnerstag, 27. Mai 2004 15:24
An: Mauricio Henriquez
Cc: MonoVB; MonoList
Betreff: Re: [mono-vb] Simple example Compiling dificulties
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=20
> 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=20
> 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?=20
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: =
Mono-vb mailing list