[Pkg-mono-devel] Mkbundle fails

Jo Shields directhex at apebox.org
Thu Dec 11 10:01:34 UTC 2008


On Thu, 2008-12-11 at 01:56 -0800, Ozzapoo wrote:
> Hi, I was just wondering if ther was any way to my problem. When I try to use
> 'mkbundle Counters.exe --deps', it will give me the following error:
> 
> Unhandled Exception: System.IO.FileNotFoundException: File or assembly name
> Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a, or one of its dependencies, was not found.
> File name: "Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a"
>   at (wrapper managed-to-native) System.AppDomain:LoadAssembly
> (string,System.Security.Policy.Evidence,bool)
>   at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef,
> System.Security.Policy.Evidence assemblySecurity) [0x00000] 
>   at (wrapper remoting-invoke-with-check) System.AppDomain:Load
> (System.Reflection.AssemblyName,System.Security.Policy.Evidence)
>   at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef)
> [0x00000] 
>   at (wrapper remoting-invoke-with-check) System.AppDomain:Load
> (System.Reflection.AssemblyName)
>   at System.Reflection.Assembly.Load (System.Reflection.AssemblyName
> assemblyRef) [0x00000] 
>   at MakeBundle.QueueAssembly (System.Collections.ArrayList files,
> System.String codebase) [0x00000] 
>   at MakeBundle.Main (System.String[] args) [0x00000] 
> 
> This is only the case when I use mkbundle with the --deps argument.
> Microsoft.VisualBasic is definitely installed, with all its dependencies. So
> is there any way I can fix this? It only happens with Visual Basic
> applications compiled on Windows through Visual Studio.

Which version of Mono are you running? Do you have problems if you
compile VB.NET apps on Debian, using the "mono-vbnc" package? What does
"monodis --assemblyref Counters.exe" say?




More information about the Pkg-mono-devel mailing list