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

Rafael Teixeira monoman at gmail.com
Fri Mar 2 22:40:42 EST 2007


You also need to install the vb runtime. Correct install of it puts
the needed Microsoft.VisualBasic.dll in the GAC, where your program
can use it.

:)

On 3/2/07, Benedikt <beniwtv at relamp.tk> wrote:
> 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
>
>
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw


More information about the Mono-vb mailing list