[MonoDevelop] Could not load file or assembly - but it is referenced by solution
steve at weblite.ca
Thu Jan 20 15:35:35 EST 2011
I'm a Java developer who is venturing into Mono for the first time. I'm
using ikvmc to compile some java libraries into .dll assemblies and I'm
trying to use the resulting assemblies in a MonoDevelop solution. If I
create a test file from the command line and run it with Mono, it works ok.
If, I try to work with it inside MonoDevelop, I get the following error when
I try to run it:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
assembly 'IKVM.OpenJDK.Core, Version=0.44.0.5, Culture=neutral,
PublicKeyToken=13235d27fcbfff58' or one of its dependencies.
File name: 'IKVM.OpenJDK.Core, Version=0.44.0.5, Culture=neutral,
I have added the IKVM.OpenJDK.Core.dll assembly to the GAC, MONO_PATH, and
also explicitly referenced it in my solution. I'm sure I'm just missing a
key piece of understanding of how Mono handles library dependencies, but I'm
hoping someone might be able to provide some quick pointers on some things I
can do to try to resolve this problem.
Thanks for your help.
(BTW. MonoMac Rocks!)
View this message in context: http://mono.1490590.n4.nabble.com/Could-not-load-file-or-assembly-but-it-is-referenced-by-solution-tp3228432p3228432.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list