List Info

Thread: Mono trows error when running a vbnc compiled program




Mono trows error when running a vbnc compiled program
country flaguser name
Spain
2007-03-02 05:11:41
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-vblists.ximian.com
http
://lists.ximian.com/mailman/listinfo/mono-vb

Re: Mono trows error when running a vbnc compiled program
user name
2007-03-02 21:40:42
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 <beniwtvrelamp.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-vblists.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
_______________________________________________
Mono-vb mailing list
Mono-vblists.ximian.com
http
://lists.ximian.com/mailman/listinfo/mono-vb

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )