Results 1 to 4 of 4

Thread: Debugging without reopening acad everytime

  1. #1
    Member
    Join Date
    2017-04
    Posts
    10


    Default Debugging without reopening acad everytime

    Another beginner question: im coding in VS so everytime i build my solution i have to reopen acad to test it. Is there a simple way to keep acad open and simply use netload and reload my .dll instead of having to wait for acad to open each time i build my code? I tried building it in VS then reloading the .dll with NETLOAD in acad but that doesnt seem to work.

    Thank you again for any help.
    James

  2. #2
    Programming Moderator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,125


    Default Re: Debugging without reopening acad everytime

    Welcome to the world of .NET development.

    Unfortunately, no - there is no such thing as NETUNLOAD (certainly not yet)... .NET Assemblies can only be loaded once per session, so the closing, and relaunching of Acad.exe is necessary.

    Depending on versions of VS, and AutoCAD, you might consider using 'Edit and Continue' as a stop gap in the interim.


    Cheers
    "Potential has a shelf life." - Margaret Atwood
    AutoCAD, and Civil 3D Certified Professional | Autodesk Authorized Developer
    Sincpac C3D ~ Autodesk Exchange Apps

  3. #3
    Member
    Join Date
    2017-04
    Posts
    10


    Default Re: Debugging without reopening acad everytime

    Wow, i never would have thought that. Thanks for the quick response!

  4. #4
    Programming Moderator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,125


    Default Re: Debugging without reopening acad everytime

    Quote Originally Posted by jrauden748232 View Post
    Wow, i never would have thought that. Thanks for the quick response!
    No worries; everybody starts somewhere.

    Cheers, dude.
    "Potential has a shelf life." - Margaret Atwood
    AutoCAD, and Civil 3D Certified Professional | Autodesk Authorized Developer
    Sincpac C3D ~ Autodesk Exchange Apps

Similar Threads

  1. 2017: Revit 2017 - Work disappearing after Synchronizing/Closing/Reopening?
    By nharburger in forum Revit Architecture - General
    Replies: 1
    Last Post: 2017-01-09, 11:16 PM
  2. 2013: linked dwg files flipped when reopening revit file
    By Philipp Kühne in forum Revit - Platform
    Replies: 2
    Last Post: 2013-11-20, 09:22 PM
  3. Refresh Causes Crash Everytime
    By bjschw in forum NavisWorks - General
    Replies: 11
    Last Post: 2009-07-07, 05:19 PM
  4. Everytime I pan, Revit autosaves
    By mattcummins in forum Revit Architecture - General
    Replies: 3
    Last Post: 2008-12-15, 05:09 PM
  5. Problems debugging ACAD 2008 with VS 2005
    By ivan.markov in forum Dot Net API
    Replies: 1
    Last Post: 2007-07-10, 11:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •