[Pkg-mono-devel] Mkbundle fails
Ozzapoo
ozzamon3000 at gmail.com
Thu Dec 11 10:19:02 UTC 2008
Jo Shields-2 wrote:
>
> 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?
>
>
> _______________________________________________
> Pkg-mono-devel mailing list
> Pkg-mono-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-mono-devel
>
>
Mono Version (1.9.1? But in the package list it says 1.9.1+dfsg-5): Mono JIT
compiler version 1.9.1 (tarball)
VBNC seems to compile things fine, so long as I pass the correct arguments
to it.
The monodis thing says:
AssemblyRef Table
1: Version=2.0.0.0
Name=mscorlib
Flags=0x00000000
Public Key:
0x00000000: B7 7A 5C 56 19 34 E0 89
2: Version=8.0.0.0
Name=Microsoft.VisualBasic
Flags=0x00000000
Public Key:
0x00000000: B0 3F 5F 7F 11 D5 0A 3A
3: Version=2.0.0.0
Name=System.Windows.Forms
Flags=0x00000000
Public Key:
0x00000000: B7 7A 5C 56 19 34 E0 89
4: Version=2.0.0.0
Name=System
Flags=0x00000000
Public Key:
0x00000000: B7 7A 5C 56 19 34 E0 89
5: Version=2.0.0.0
Name=System.Drawing
Flags=0x00000000
Public Key:
0x00000000: B0 3F 5F 7F 11 D5 0A 3A
--
View this message in context: http://www.nabble.com/Mkbundle-fails-tp20952522p20952809.html
Sent from the Debian Mono mailing list archive at Nabble.com.
More information about the Pkg-mono-devel
mailing list