My company is building a C# application suite. Part of the suite is an AutoCAD plugin, that uses many of the same DLLs used by the rest of the suite.
To make ACAD aware of our plugin, we have two choices that I am aware of:
1. Put the DLLs for the plugin into the Autodesk Plugin folder
2. Add an entry to the Registry to load the plugin on ACAD startup
The latter is not desirable as we would have to go searching the registry for ACAD entries, plus with ACAD2014 onwards we have to deal with the security message asking the user if they want to load the plugin or not.
The former is more desirable as it ties in with Autodesks preferred solution, however it means (or at least seems to mean) that all the dlls that are used by the plugin and by the rest of the suite would have to be duplicated; once in the application folder and once in the Autodesk plugins folder.
Can anyone tell me if they know of a way to avoid that duplication of DLLs?
Is it possible for me to create just an entry point DLL that would be placed in the Autodesk plugins folder and would then redirect to other DLLs placed in our application folder?