<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to unload Application DLL file in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/4356757#M48337</link>
    <description>&lt;P&gt;There is no way to unload DLL . Once you load the DLL into AutoCAD, it will be locked then by AutoCAD. You have to close AutoCAD to build that again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Zakir&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2013 10:37:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-07T10:37:39Z</dc:date>
    <item>
      <title>How to unload Application DLL file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/4356600#M48336</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ihave made the .NET application with class library which provide us Application DLL file which will used to do our customization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I have loaded my DLL and after that if I make change any thing in the Code and than I rebuilt it, I am getting the following error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Error&amp;nbsp;&amp;nbsp; &amp;nbsp;15&amp;nbsp;&amp;nbsp; &amp;nbsp;Unable to copy file "obj\Release\SemiAuto.dll" to "bin\Release\Test.dll". The process cannot access the file 'bin\Release\Test.dll' because it is being used by another process.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Error&amp;nbsp;&amp;nbsp; &amp;nbsp;14&amp;nbsp;&amp;nbsp; &amp;nbsp;Could not copy "obj\Release\Test.dll" to "bin\Release\Test.dll". Exceeded retry count of 10. Failed.&amp;nbsp;&amp;nbsp; &amp;nbsp;SemiAuto&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 09:07:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/4356600#M48336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T09:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to unload Application DLL file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/4356757#M48337</link>
      <description>&lt;P&gt;There is no way to unload DLL . Once you load the DLL into AutoCAD, it will be locked then by AutoCAD. You have to close AutoCAD to build that again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Zakir&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 10:37:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/4356757#M48337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T10:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to unload Application DLL file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/8037630#M48338</link>
      <description>&lt;P&gt;Every time close and open&amp;nbsp; that's not a best practice right.&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 10:15:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/8037630#M48338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-31T10:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to unload Application DLL file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/8038133#M48339</link>
      <description>&lt;P&gt;I use the netreload utility provided by artvegas (thanks again!).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/net/net-reload-utility-for-visual-studio-download-here/m-p/3185104#M25525" target="_blank"&gt;https://forums.autodesk.com/t5/net/net-reload-utility-for-visual-studio-download-here/m-p/3185104#M25525&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 13:49:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/8038133#M48339</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2018-05-31T13:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to unload Application DLL file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/8038710#M48340</link>
      <description>&lt;P&gt;It's not ideal if you use the "hack'n'slash" approach to development i.e. using debugging to figure what code to write next or what logic/program flow to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not that bad if you change to a more structured approach I.e. working out the data structure and program flow first, using good programming practices, Intellisense, etc. to avoid pitfalls.&amp;nbsp; That way debugging is little more than confirmation of program logic and won't generate&amp;nbsp;a lot&amp;nbsp;of changes.&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 16:56:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/8038710#M48340</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2018-05-31T16:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to unload Application DLL file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/8041419#M48341</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;&lt;P&gt;You have hit one of the major differences between lisp and .net development.&lt;/P&gt;&lt;P&gt;Yes, its a pain in the but stopping and starting a session for every code edit.&lt;/P&gt;&lt;P&gt;At a minimum, set up a script (.scr file) to load the .net assembly you are testing, and set your startup params in debug to load that script, to avoid the netload command once each session opens.&lt;/P&gt;&lt;P&gt;Do not use autoload reg settings for this, you just want the debug dll load when testing.&lt;/P&gt;&lt;P&gt;script might be:&lt;/P&gt;&lt;P&gt;netload&lt;BR /&gt;"C:\Programming\DotNet\myprog\bin\Debug\RB18\myappR18.dll"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then command line debug params like:&lt;/P&gt;&lt;P&gt;/nologo /p "&amp;lt;favorite profile...&amp;gt;" /product ACAD /language "en-US" /b "C:\Programming\DotNet\myprog\Load 2018.scr"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea with .net is you try to get code in order more before debug. For years autodesk has said we would have "edit and continue" but it never happened, and we "git what we git" as is the new autodesk mantra.&lt;/P&gt;&lt;P&gt;Still, I prefer .net to lisp as visual studio is so nice to use, and object structure of .net is next gen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 16:22:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/8041419#M48341</guid>
      <dc:creator>JamesMaeding</dc:creator>
      <dc:date>2018-06-01T16:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to unload Application DLL file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/12818611#M48342</link>
      <description>&lt;P&gt;I personally have AutoCAD run in debug mode when i run my application. and when i make a change to the program I just click on hot reload. it works fine but if you make really big changes it might ask you to close Cad in order to build.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 20:03:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/12818611#M48342</guid>
      <dc:creator>luiscruzrodriguez20</dc:creator>
      <dc:date>2024-06-04T20:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to unload Application DLL file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/12821053#M48343</link>
      <description>&lt;P&gt;same - was a bit leery of using it, but for small edits it seems to be working fine.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 18:15:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-unload-application-dll-file/m-p/12821053#M48343</guid>
      <dc:creator>joseguiaCES</dc:creator>
      <dc:date>2024-06-05T18:15:10Z</dc:date>
    </item>
  </channel>
</rss>

