c# - Could not load file or assembly IKVM.OpenJDK.Core -


i using mpxj , library allowing project information manipulated in java , .net. (more info @ http://mpxj.sourceforge.net/ ) working visual studio 2012. when use vsto project template console application or windows.forms application, program runs without errors.

but, when use sharepoint webpart template, see following error message:

system.io.filenotfoundexception: not load file or assembly "ikvm.openjdk.core, version=7.0.4335.0, culture=neutral, publickeytoken=13235d27fcbfff58" or 1 of dependencies. specified module not found.
file: "ikvm.openjdk.core, version=7.0.4335.0, culture=neutral, publickeytoken=13235d27fcbfff58"
@ ma_sql_workload.mpptaskcontroller..ctor()
@ ma_sql_workload.updatestarter.startdbupdate()

so can't find assembly "ikvm.openjdk.core".

the class mpptaskcontroller.cs 1 uses mpxj library. error occurred when instanced mpptaskcontroller.

and when use same class in console or form application, works well. can send windows.form application, if want.

i post image of project explorer, need @ least 10 reputation post images. maybe failure can wrong path of in project folder.

i show more information or send project folder, if want.

what think, failure?

here *.dll files in folder ...\projectname\webpartname\bin\debug\

ikvm.openjdk.beans.dll ikvm.openjdk.charsets.dll ikvm.openjdk.core.dll ikvm.openjdk.jdbc.dll ikvm.openjdk.security.dll ikvm.openjdk.swingawt.dll ikvm.openjdk.text.dll ikvm.openjdk.util.dll ikvm.openjdk.xml.api.dll ikvm.openjdk.xml.bind.dll ikvm.openjdk.xml.parse.dll ikvm.runtime.dll junit.dll ma_sql_workload.dll ma_sql_workload.pdb ma_sql_workload.wsp microsoft.office.interop.msproject.dll mpxj.dll poi-3.7-20101029.dll 

make sure have installed saxon components on server using executable. encountered same error, , although dependencies existed on server in correct locations, got error until installed saxon components via executable. luck. hth.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -