[Ikvm-developers] Problem with using IKVM-generated DLLs in Visual Basic
Brought to you by:
jfrijters
|
From: Thomas T. <tho...@gm...> - 2015-07-01 13:17:03
|
Dear Mailing-list Subscribers,
I have a simple Java program the methods of which I'd like to be able to
use in a WPF Application Visual Basic project.
I'm using Windows 7 Professional, 64-bit. I compiled the .java file in the
Command Prompt using jdk1.7.0_79. Then, using ikvm-7.2.4630.5, I typed the
following command in IKVM's bin directory:
ikvmc - target:library hexcksum.class
("hexcksum" is the name of the Java program).
As expected IKVM produced the files kexcksum.dll and
IKVM.GNU.Classpath.dll. However, when I add these two DLLs as references to
Visual Studio 2013, I receive the following error:
Error 1 Unknown build error, 'Cannot resolve dependency to assembly
'IKVM.Runtime, Version=0.30.0.0, Culture=neutral,
PublicKeyToken=13235d27fcbfff58' because it has not been preloaded. When
using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or
loaded on demand through the ReflectionOnlyAssemblyResolve event.'
plus a bunch of other errors.
I've been trying to google a solution for this problem, but have not been
able to solve it.
I was wondering if anybody is able to help me with this problem. I'm happy
to provide more information, if necessary.
Thanks,
Thomas
|