G
Guest
Dear all
I am using the following code in my applciation
AppDomain.CurrentDomain.AppendPrivatePath("\Plugins"
objDomain = AppDomain.CurrentDomain.CreateInstanceFromAndUnwrap(Name + ".dll", "NomosNetSuite.PluginApp.PlugIn" & Name
Return (CType(objDomain, IPlugIn).Icon
If I place the library that I need to load at the same place of my executable folder I am able to load it and instanciate it without any problem
Then If I move the same file to the Plugins folder and add that folder to the reflexion by calling AppendAppPrivatePath, I am noit able to load it, I get an error that it cannot found the library
As you can see the path is relative, I could found any information on that to clear me up
Does oen of you can help me and give me a hint
THnaks for your hel
Regard
CALDERARA Serg
Maillefer S.A
I am using the following code in my applciation
AppDomain.CurrentDomain.AppendPrivatePath("\Plugins"
objDomain = AppDomain.CurrentDomain.CreateInstanceFromAndUnwrap(Name + ".dll", "NomosNetSuite.PluginApp.PlugIn" & Name
Return (CType(objDomain, IPlugIn).Icon
If I place the library that I need to load at the same place of my executable folder I am able to load it and instanciate it without any problem
Then If I move the same file to the Plugins folder and add that folder to the reflexion by calling AppendAppPrivatePath, I am noit able to load it, I get an error that it cannot found the library
As you can see the path is relative, I could found any information on that to clear me up
Does oen of you can help me and give me a hint
THnaks for your hel
Regard
CALDERARA Serg
Maillefer S.A