proxygen file not found error for System.Runtime.InteropServices

64 views
Skip to first unread message

Jakes

unread,
Dec 15, 2011, 1:10:10 PM12/15/11
to jni4net
proxygen.exe padaddin-config.xml
jni4net.proxygen - Copyright (C) 2009 Pavel Savara - licensed under
GPLv3
clr.version :v2.0.50727
clr.arch :64bit
java.home :C:\Program Files\Java\jre6
java.version :1.6.0_26
sun.arch.data.model :64

Loaded net.sf.jni4net.proxygen.config.AssemblyReference

System.IO.FileNotFoundException: Could not load file or assembly
'System.Runtime.InteropServices, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies. The
system cannot find the file specified.
File name: 'System.Runtime.InteropServices, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark,
Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at net.sf.jni4net.proxygen.model.Repository.LoadAssemblies()
at net.sf.jni4net.proxygen.model.Repository.Register()
at net.sf.jni4net.proxygen.Program.Work(String[] args)
at net.sf.jni4net.proxygen.Program.Main(String[] args)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM
\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value [HKLM\Software
\Microsoft\Fusion!EnableLog].


<jni4net-proxygen xmlns="http://jni4net.sf.net/0.8.6.0/
toolConfig.xsd">
<TargetDirJvm>java</TargetDirJvm>
<TargetDirClr>csharp</TargetDirClr>
<AssemblyReference Assembly="System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<AssemblyReference Assembly="System.Runtime.InteropServices,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<AssemblyReference Assembly="System.Reflection, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<AssemblyReference Assembly="System.Runtime.CompilerServices,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<AssemblyReference Assembly="PAFAddin.dll"/>
<AssemblyReference Assembly="WinAutoInterface.dll"/>
<AssemblyReference Assembly="Interop.TDAPIOLELib.dll"/>
<Verbose>true</Verbose>
<ClrType TypeName="PAFAddin.IEInterface"/>
<ClrType TypeName="PAFAddin.QCInterface"/>
</jni4net-proxygen>

Reply all
Reply to author
Forward
0 new messages