[mono-vb] Mono trows error when running a vbnc compiled program

Benedikt beniwtv at relamp.tk
Fri Mar 2 06:11:41 EST 2007


Hi,

I have a program that uses the Microsoft.VisualBasic namespace. vbnc
compiles it great, but mono trows an error:


** (MODULE1.exe:9435): WARNING **: : mprotect failed: Permission denied

** (MODULE1.exe:9435): WARNING **: The following assembly referenced
from /media/sda1/Projects/STRINGENCRYPTER/monotest/MODULE1.exe could not
be loaded:
     Assembly:   Microsoft.VisualBasic    (assemblyref_index=1)
     Version:    8.0.0.0
     Public Key: b03f5f7f11d50a3a
The assembly was not found in the Global Assembly Cache, a path listed
in the MONO_PATH environment variable, or in the location of the
executing assembly (/media/sda1/Projects/STRINGENCRYPTER/monotest/).


** (MODULE1.exe:9435): WARNING **: Could not load file or assembly
'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

** (MODULE1.exe:9435): WARNING **: Missing method CompareString in
assembly /media/sda1/Projects/STRINGENCRYPTER/monotest/MODULE1.exe, type
Microsoft.VisualBasic.CompilerServices.Operators

Unhandled Exception: System.IO.FileNotFoundException: Could not load
file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies.

I have installed the vbnc compiler via SVN, (./configure,make && sudo
make install) without errors.

Is there anything other I need?

Thanks,
  Benedikt





More information about the Mono-vb mailing list