Problem with using IKVM-generated DLLs in Visual Basic
Thomas Templin <[email protected]> Wed, 1 Jul 2015 09:16:51 -0400
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <CALg3ydT8iZYUxWUXq9JFFQMwDB9zy_WTs8VfGaKaX9QaaQO_hQ@mail.gmail.com> |
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
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers