[Mono-list] mkbundle and reference assemblies

Chris Tacke ctacke at opennetcf.com
Tue Apr 22 15:01:08 UTC 2014

I'm trying to mkbundle a pretty complex application that has a lot of reference assemblies, but mkbundle is having trouble finding those assemblies.

For example, here's part of the output:

root at WR-IntelligentDevice:/opt/SF# mkbundle SolutionEngine.exe --deps -o Engine -L /opt/SF
OS is: Linux
Sources: 1 Auto-dependencies: True

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'OpenNETCF.IoC' or one of its dependencies. The system cannot find the file specified.
File name: 'OpenNETCF.IoC'


OpenNETCF.IoC.dll is a referenced assembly.  It's in the same folder as the application assembly, and even adding an explicit path (it's in the command above) doesn't help.  Here's a partial ls as proof:

root at WR-IntelligentDevice:/opt/SF# ls O*
OpenNETCF.BACnet.dll         OpenNETCF.MQTT.dll
OpenNETCF.Configuration.dll  OpenNETCF.ORM.DreamFactory.dll
OpenNETCF.DeviceAdmin.dll    OpenNETCF.ORM.EDC.dll
OpenNETCF.DreamFactory.dll   OpenNETCF.ORM.SQLite.dll
OpenNETCF.EDC.dll            OpenNETCF.ORM.dll
OpenNETCF.Extensions.dll     OpenNETCF.Transit.IO.dll
OpenNETCF.IO.XBee.dll        OpenNETCF.Web.dll

As you can see, it's definitely there.  How to I tell mkbundle how to find the reference assemblies?


More information about the Mono-list mailing list