I have a plugin that I have finished developing with C# .NET. Because I have multiple plugins that I want AutoCAD to load on startup, I use a Lisp script that loads all my plugins with one function call. Since this is my first of many planned .NET plugins, I'm using a Lisp program to load each DLL file. The function for that is
(defun C:LoadDLL ()
(command "NETLOAD" "ShowHideLayers.dll")
)
where the Lisp file containing that function and ShowHideLayers.dll
are both in the .bundle
folder in AutoCAD's roaming data.
However, when I start AutoCAD and call LoadDLL
, I get an error and have no idea why:
NETLOAD Assembly file name: ShowHideLayers.dll Unable to load ShowHideLayers.dll assembly.
I can't determine the cause of the error. What am I missing?