Context:
My dlls are compiled using .NET version 4.0.30319.1
Stack Trace:
System.BadImageFormatException: Could not load file or assembly
'file:///C:\Users\....dll' or one of its dependencies. This assembly
is built by a runtime newer than the currently loaded runtime and
cannot be
loaded.
File name: 'file:///C:\Users....dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stac
kMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark,
Boolean forIntrospection
)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at net.sf.jni4net.proxygen.model.Repository.LoadFile(String file)
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)