.net - a procedure imported by c# -
i getting exception,
system.io.fileloadexception: procedure imported 'geometryutils.dll' not loaded
while trying phone call activator.createinstancefrom(geomutilsassemblypath, "geometryutils.ismregionfactory");
i can see geometryutils.dll gets loaded using process explorer along dependencies. dependency walker , reflector not study issue well.
fyi, geometryutils built using .net 4.0 , calling process built using .net 2.0. have specified,
<startup uselegacyv2runtimeactivationpolicy="true"> <supportedruntime version="v4.0" sku=".netframework,version=v4.0" /> </startup>
in executeable config file.
any ideas, may going on?
a 2.0 process can't back upwards 4.0 class library.
c# .net fileloadexception
No comments:
Post a Comment