[Mono-list] Mono on Debian

Jonathan Pryor jonpryor at vt.edu
Sun Mar 29 22:53:31 EDT 2009


On Tue, 2009-03-24 at 06:29 -0700, frist44 wrote:
> We have an .exe that was built on Windows. We are trying to get it to run on
> Linux and are having problems.
> 
> There is a vbshared.dll that the exe depends on. I've copied that to the
> same folder on Linux. When I run the exe I get:
> 
> ** (massemailsender.exe:21300): WARNING **: The following assembly
> referenced from /root/mes/vbshared.dll could not be loaded:
>      Assembly:   Microsoft.VisualBasic    (assemblyref_index=1)
>      Version:    7.0.5000.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 (/root/mes).
> 
> 
> ** (massemailsender.exe:21300): WARNING **: Could not load file or assembly
> 'Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

You're missing the Microsoft.VisualBasic.dll assembly.  Alas, /Ubuntu
didn't package this assembly until recently -- Ubuntu 9.04 will
reportedly be the first version to actually package this assembly in the
libmono-microsoft-visualbasic8.0-cil package...

Debian unstable does provide this package, but it'll require that you
run Debian unstable, which may not be acceptable.

You may instead consider building Mono from source, which will build and
install this assembly; see:

	http://www.mono-project.com/Parallel_Mono_Environments

 - Jon




More information about the Mono-list mailing list