S
Serge calderara
Hello,
I have try to use the AppenPrivate path to current domain
for assembly reflexion as follow :
AppDomain.CurrentDomain.AppendPrivatePath(
Global.ENVIRONMENT_PATH.PLUGINS_FILE_PATH)
obj = AppDomain.CurrentDomain.CreateInstanceFromAndUnwrap
(item.FileName,
"PluginApp.PlugIn" + item.Name)
Doing this it is able to load my assembly only if it is
present in my application folder. It does not search in
the folder that I specified in AppendPrivatePath.
What am i doing wrong ?
Thnaks for your reply
serge
I have try to use the AppenPrivate path to current domain
for assembly reflexion as follow :
AppDomain.CurrentDomain.AppendPrivatePath(
Global.ENVIRONMENT_PATH.PLUGINS_FILE_PATH)
obj = AppDomain.CurrentDomain.CreateInstanceFromAndUnwrap
(item.FileName,
"PluginApp.PlugIn" + item.Name)
Doing this it is able to load my assembly only if it is
present in my application folder. It does not search in
the folder that I specified in AppendPrivatePath.
What am i doing wrong ?
Thnaks for your reply
serge