@baleti3266 wrote:
interesting, thanks - that's a quite different process. I guess if you know your code well that's fine, but the overhead of restarting autocad, commenting out Component in PackageContents.xml and attaching debugger (I assume .scr+netload step is instanenous though) each time is a bit much for me. Especially when it seems that you can just recompile and run .dll in a single command and in current session. Then again, I'm mostly "vibecoding" through claude, so my attention span isn't great.
Perhaps I was unclear; while I'm 'sandboxing' a new app, I comment out the PackageContents.xml component for the assembly only (once). In VS, my plugin builds to the Autoloader app .bundle folder each time, for debug & release builds. Also in VS, my Debug settings include a /b switch to load a SCR located within my VS solution (which NETLOADs the new build for me on acad.exe session launch). This allows me to be working in one session with live project drawings, and debug in a separate session without needing to quit both on next debug. While debugging, I can edit and continue repeatedly within the same, single AutoCAD or Civil 3D session, until I either raise an exception I've not accounted for which crashes, or until I make another change that prevents edit and continue from working. I do NOT debug launch, test something, stop debugging, edit the code, debug launch again, etc. Not happening. Only when done debugging, and I'm ready to distribute the app .bundle, do I then make a final release build, and uncomment the assembly load component of PackageContents.xml (once).
[Edit] - If anyone has a better, more efficient way of doing this - please share it - if it only saves me 15 minutes a day, extrapolate that out, that's an extra +/- 1.5 weeks per year of time I get to spend with my family.
@baleti3266 wrote:
after two days of running autocad I must admit that compared to revit an occasional restart is actually fairly feasible - it's only about 10-30 seconds for most sheet sets
I'm glad it's working faster for you than expected... AutoCAD.IsDefinitely != Revit
Cheers