[Mono-list] mkbundle won't embed assembly with accompanying netmodule
cocowalla
colin.anderson333 at gmail.com
Fri Apr 25 14:54:13 UTC 2014
Yet more mkbundle woes I'm afraid...
I'm trying to mkbundle a Mono app, and it includes a reference to Saxon
assemblies. No issues with `saxon9.dll`, but when I try to include
`saxon9api.dll` it won't build:
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly
'saxon9api, Version=9.1.0.8, Culture=neutral,
PublicKeyToken=e1fdd002d5083fe6' or one of its dependencies. The system
cannot find the file specified.
File name: 'saxon9api, Version=9.1.0.8, Culture=neutral,
PublicKeyToken=e1fdd002d5083fe6'
at System.AppDomain.Load (System.String assemblyString,
System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00000]
in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.AppDomain:Load
(string,System.Security.Policy.Evidence,bool)
at System.Reflection.Assembly.ReflectionOnlyLoad (System.String
assemblyString) [0x00000] in <filename unknown>:0
at IKVM.Reflection.Universe.DefaultResolver (System.String refname,
Boolean throwOnError) [0x00000] in <filename unknown>:0
at IKVM.Reflection.Universe.Load (System.String refname,
IKVM.Reflection.Module requestingModule, Boolean throwOnError) [0x00000] in
<filename unknown>:0
at IKVM.Reflection.Universe.Load (System.String refname) [0x00000] in
<filename unknown>:0
at MakeBundle.QueueAssembly (System.Collections.Generic.List`1 files,
System.String codebase) [0x00000] in <filename unknown>:0
Saxon also has a 'netmodule' file, `saxon9api.netmodule`. Not entirely sure
what this is, as I've never come across such a thing before. But Saxon won't
work without it, and I believe this is what is causing it to fail.
How can I bundle this file?
If I can't bundle it, is there any way to specifically *exclude* it, so I
can continue to use the `--deps` option with `mkbundle`?
--
View this message in context: http://mono.1490590.n4.nabble.com/mkbundle-won-t-embed-assembly-with-accompanying-netmodule-tp4662618.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list