Mono アプリを mkbundle しようとしていますが、Saxon アセンブリへの参照が含まれています。に問題はありませんsaxon9.dll
が、インクルードしようとするsaxon9api.dll
とビルドされません:
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 には「netmodule」ファイルもありますsaxon9api.netmodule
。私はこれまでにそのようなものに出くわしたことがないので、これが何であるかは完全にはわかりません。しかし、Saxon はそれなしでは機能しません。これが失敗の原因であると私は信じています。
このファイルをバンドルするにはどうすればよいですか?
バンドルできない場合、具体的に除外する方法はあります--deps
かmkbundle
?