[mono-vb] Dependencies problem

Ozzapoo ozzamon3000 at gmail.com
Fri Nov 14 16:41:19 EST 2008


I copied it into the directory of my binary, but it still gave me the same
error.

Rolf Bjarne Kvinge-2 wrote:
> 
>> 
>> Where is Microsoft.VisualBasic.Dll located?
> 
> If you have mono-basic sources you can use
> mono-basic/class/lib/bootstrap/Microsoft.VisualBasic.dll, or you can use
> the
> one installed in your gac, which would normally be
> /usr/lib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.
> VisualBasic.dll
> 
> Rolf
> 
>> 
>> Rolf Bjarne Kvinge-2 wrote:
>> >
>> > Hi,
>> >
>> >>
>> >> "mono BNCC.exe" Works fine..And I think I have installed the
>> >> Microsoft.VisualBasic.Dll installed, since vbnc works fine. Is there
>> >> any way to checK?
>> >
>> > You just did and it is installed. Looks like a mkbundle bug, though I
>> know
>> > nothing about mkbundle to be sure.
>> >
>> > What happens if you copy Microsoft.VisualBasic.dll to the same
>> directory
>> > as
>> > the exe and then try again? Note that you have to use the mono
>> version of
>> > Microsoft.VisualBasic.dll.
>> >
>> > Rolf
>> >
>> >>
>> >> Rolf Bjarne Kvinge-2 wrote:
>> >> >
>> >> > Hi,
>> >> >
>> >> > Did you do this on Windows or on Linux?
>> >> >
>> >> > If you do "mono BNCC.exe" in a terminal does the app work?
>> >> >
>> >> > My guess is that you don't have Microsoft.VisualBasic.dll
>> installed,
>> >> you
>> >> > need to download the mono-basic package and install it.
>> >> >
>> >> > Rolf
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-
>> >> >> bounces at lists.ximian.com] On Behalf Of Ozzapoo
>> >> >> Sent: viernes, 14 de noviembre de 2008 10:09
>> >> >> To: mono-vb at lists.ximian.com
>> >> >> Subject: [mono-vb] Dependencies problem
>> >> >>
>> >> >>
>> >> >> Hi. I was trying to use 'mkbundle' to turn a Visual Basic binary,
>> >> >> compiled on
>> >> >> Windows, into a native linux file. However, when I did:
>> >> >>
>> >> >> 'mkbundle BNCC.exe --deps'
>> >> >>
>> >> >> It gave me the following error:
>> >> >>
>> >> >> OS is: Linux
>> >> >> Sources: 1 Auto-dependencies: True
>> >> >>
>> >> >> 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]
>> >> >>
>> >> >> Is there any way to fix this?
>> >> >> --
>> >> >> View this message in context: http://www.nabble.com/Dependencies-
>> >> >> problem-tp20497037p20497037.html
>> >> >> Sent from the Mono - VB mailing list archive at Nabble.com.
>> >> >>
>> >> >> _______________________________________________
>> >> >> Mono-vb mailing list
>> >> >> Mono-vb at lists.ximian.com
>> >> >> http://lists.ximian.com/mailman/listinfo/mono-vb
>> >> >
>> >> > _______________________________________________
>> >> > Mono-vb mailing list
>> >> > Mono-vb at lists.ximian.com
>> >> > http://lists.ximian.com/mailman/listinfo/mono-vb
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context: http://www.nabble.com/Dependencies-
>> >> problem-tp20497037p20497222.html
>> >> Sent from the Mono - VB mailing list archive at Nabble.com.
>> >>
>> >> _______________________________________________
>> >> Mono-vb mailing list
>> >> Mono-vb at lists.ximian.com
>> >> http://lists.ximian.com/mailman/listinfo/mono-vb
>> >
>> > _______________________________________________
>> > Mono-vb mailing list
>> > Mono-vb at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/mono-vb
>> >
>> >
>> 
>> --
>> View this message in context: http://www.nabble.com/Dependencies-
>> problem-tp20497037p20497460.html
>> Sent from the Mono - VB mailing list archive at Nabble.com.
>> 
>> _______________________________________________
>> Mono-vb mailing list
>> Mono-vb at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-vb
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
> 
> 

-- 
View this message in context: http://www.nabble.com/Dependencies-problem-tp20497037p20508775.html
Sent from the Mono - VB mailing list archive at Nabble.com.



More information about the Mono-vb mailing list