System.IO.FileNotFoundException: Could not load file or assembly 'IKVM.OpenJDK.Core, Version=0.46.0.1, Culture=neutral, PublicKe

It would seem the named file cannot be found, but it seems to be setup just like another system that is working. Thoughts?

Windows XP, local drive


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
john's picture

version number?

Hi Jay, maybe it's the version number? See my notes at http://www.joanju.com/proparse/assemblies_notes.php.


This is our

This is our assemblies.xml:

assembly name="IKVM.OpenJDK.Core, Culture=neutral, PublicKeyToken=13235d27fcbfff58"
assembly name="IKVM.Runtime, Culture=neutral, PublicKeyToken=13235d27fcbfff58"
assembly name="proparse.net, Culture=neutral, PublicKeyToken=cda1b098b1034b24"


john's picture

Also you might want to

Also you might want to re-download proparse.assemblies.zip and replace those three DLLs just in case you have mismatched versions of the DLLs somehow. Proparse.net.DLL probably references specific versions of the IKVM DLLs. So if you ever updated, say, just proparse.net.dll without updating the IKVM DLLs, you might get this kind of error.


john's picture

Have you tried removing

Have you tried removing the two IKVM references from assemblies.xml? I don't think it's necessary. My assemblies.xml only references proparse. The proparse.net.dll references the two IKVM DLLs, which .net seems to find OK if they are in your assemblies directory.


Same results.

Same results.


6 of our developers tried

6 of our developers tried and non of them can get this resolved.


commandline

What are you using on the command line?
It should not be -assemblies assemblies. Nor should it be -assemblies c:\somefolder\assemblies\assemblies.xml. It should be -assemblies c:\somefolder\assemblies
Where c:\somefolder\assemblies is a folder that contains the assemblies.xml file and the required .dll files.


-assemblies

-assemblies C:\p4gl\tools

This is what we tried on all and it does work on a single machine - mine. But no one else can get it to work.

JUST IN: The error occurs while Linting, not when you start Prolint. Seems like it gets to the point where it's compiling and then the error message pops up. We moved the file reference in the assemblies file to below the reference to IKVM.Runtime and no error on that file so it's being found. I'm thinking there's a reference in Proparse that might be missing something for IKVM.OpenJDK.Core.

We tried to manually register and got the following error:

IKVM.OpenJDK.Core.dll was loaded, but the DLLRegisterServer entry point was not found. This file can not be registered.