Hi,
I am new to Autocad Integration, Here I have found some tutorial to create a plugin. I have got the template for creating the Plugin. However, I am unable to debug my plugin in the Visual Studio ..
in the XML file
<ComponentEntry AppName="Quick Search" Version="3.0.0.0" ModuleName="C:\Users\XXX\Documents\Quicksearch\bin\Debug\Autocad_SearchWidget.dll" AppDescription="This will help to search quickly" LoadOnAutoCADStartup="True" LoadOnCommandInvocation="True">
it is not hitting the "void IExtensionApplication.Initialize()" method while application starts ..
Currently, I am using VS2012, 4.5 .net framework, AutoCad 2015
Please guide me, if I am missing anything .. Thanks in advance..
Yes, you can have the dll loaded at application startup.
I'm using AutoCAD 2015 so I only have experience with it. Having said that, you can create a plug-in package that will be loaded when AutoCAD starts. Check out the help file at http://help.autodesk.com/view/ACD/2015/ENU/?guid=GUID-5E50A846-C80B-4FFD-8DD3-C20B22098008
Regards,
I would avoid automatically loading a plug-in that is under construction e.g. with a severe error you could crash out of AutoCAD without any idea of whats wrong. You want to minimize the number of potential problems so when there is a problem you are diagnosing that problem and not something else. First - core functions. Second - initialization (because you already know the meat of the program works). Third - auto-loading (because you already know the meat of the program works, and it is initializing properly).