Hi,
I am trying to find out how Orchard CMS install/uninstall a module. (I am trying to develop a plugin base framework).
I have downloaded the Orchard source code and so far it seems it installs a module by using nuget (PackageRepositoryFactory) and copy/unzip the package where it should be.
I can see the list of packeges inside the module folder, and I can see the dll inside each module's bin folder but not in the main application bin folder.
Now, my question is how orchard find the dll's that don't exist inside the application bin folder(main application)?
How does it uninstall a module? (I haven't been able to unload an assembly without killing the Appdomain)
I have't found any trace of using Catelog, Appdomain AssemblyResolve or ... so far!
Please point me to the right direction if I am in the wrong one.
Edited:
OK, It seems Orchard copy the dlls into App_Data\Dependencies folder (set in web.config privatePath). but now how about a dll with different version and same name?
Thank you,
Aidin