<?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: Rebuilding the dll file in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/12969270#M40515</link>
    <description>&lt;P&gt;Probably too late but&lt;BR /&gt;There is a thing called AddInManager, it allows you to rebuild project without shutting down the CAD. I was walking through similar questions all day, but no one tells about it.&lt;BR /&gt;Hope it will help&lt;BR /&gt;&lt;A href="https://github.com/chuongmep/CadAddInManager" target="_blank" rel="noopener"&gt;https://github.com/chuongmep/CadAddInManager&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 07:38:17 GMT</pubDate>
    <dc:creator>lomaka360</dc:creator>
    <dc:date>2024-08-20T07:38:17Z</dc:date>
    <item>
      <title>Rebuilding the dll file</title>
      <link>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5592966#M40508</link>
      <description>&lt;P&gt;hello ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have built a&amp;nbsp;program to draw a line through Visual Studio 2013 and opened Autocad and call&amp;nbsp;the command &lt;STRONG&gt;netload&lt;/STRONG&gt; to run the program and everything is okay till now , but I modified the program and wanted to reload the same .dll file .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to rebuild the program from menu BUILD -&amp;gt; Build addLine&amp;nbsp; but that did not work .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I evertime I modify the program &lt;STRONG&gt;EXIT&lt;/STRONG&gt; Autocad and &lt;STRONG&gt;DELETE&lt;/STRONG&gt; the .dll file and re-create a new .dll file to have the new modifications working ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2015 12:54:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5592966#M40508</guid>
      <dc:creator>J-Rocks</dc:creator>
      <dc:date>2015-04-15T12:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding the dll file</title>
      <link>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5593192#M40509</link>
      <description>&lt;P&gt;You can't reload or unload&amp;nbsp;managed dotNET DLLs into AutoCAD.&amp;nbsp; If you want to update one, the program must be closed first.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:29:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5593192#M40509</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2015-04-15T14:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding the dll file</title>
      <link>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5593305#M40510</link>
      <description>&lt;P&gt;Thank you for your reply .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe I wasn't clear enough or I did not get your point. Let me try again .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I loaded my dll file into Autocad and that is fine till now , but I modified my program and added a few line of codes to change color and lineweight , then I reloaded the same dll file and it is still working as it was from the first load .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it due to the dll file that it is not being updated with the new changes that I added to the program ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to to exit AutoCAD&amp;nbsp;then delete the dll file and rebuild a new one then load it into autoCAD and it is running&amp;nbsp;just fine with the new changes to the program&amp;nbsp;, so this is the process that I am trying to avoid .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2015 15:23:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5593305#M40510</guid>
      <dc:creator>J-Rocks</dc:creator>
      <dc:date>2015-04-15T15:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding the dll file</title>
      <link>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5596305#M40511</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can't unload a managed dll, there are some tricks/hacks out there, but in my opinion just don't deserve the cons. The usual&amp;nbsp;debugging&amp;nbsp;process is like that you mention, but you can activate edit &amp;amp; continue to made changes while debugging. If you have the proper project setup in VS, F5 should start AutoCAD, and stopping the debugger should close AutoCAD for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaston Nunez&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 03:40:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5596305#M40511</guid>
      <dc:creator>hgasty1001</dc:creator>
      <dc:date>2015-04-17T03:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding the dll file</title>
      <link>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5604784#M40512</link>
      <description>&lt;P&gt;I am sorry , I am talking about something else .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fo example : I have wrote a program to draw a circle and I&amp;nbsp;used BUILD command to&amp;nbsp;have the .dll file format , I loaded the proram and everything is great till now .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to modify the proram to change the color of the circle to red , so I opend my source program in VB.net and added the required codes to the program , NOW I need to make the .dll file to be able to load in AUtocad to use it so I am trying to use the BUILD command but it fails and the command REBUILD and it also failed so the only solution that I doing now and it is really bothering is to delete the old .dll file and exit Autocad to be able to produce the new .dll file .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this clear and I am ready to explain in needed details it needed .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 11:21:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5604784#M40512</guid>
      <dc:creator>J-Rocks</dc:creator>
      <dc:date>2015-04-23T11:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding the dll file</title>
      <link>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5605406#M40513</link>
      <description>&lt;P&gt;You do not need to manually delete the DLL files. You simply close AuotCAD. Then when you build the DLL with VS again, the DLLs will be overritten.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason your rebuild fails because the DLLs the building process is to overwrite are loaded into AutoCAd and Windows flags the DLL files as "in use" and cannot be deleted. As the other reply pointed out, the .NET DLLs loaded into AutoCAD cannot be unloaded from AutoCAD, so you must close AutoCAD before the DLLs can be replaced by the re-building. But you do not need to manually to delete it.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 16:06:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5605406#M40513</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2015-04-23T16:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding the dll file</title>
      <link>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5605647#M40514</link>
      <description>&lt;P&gt;Thank you norman.yuan , your solution works&amp;nbsp; great .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to the other guys whom trying to help me with this problem .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regard .&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 18:05:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/5605647#M40514</guid>
      <dc:creator>J-Rocks</dc:creator>
      <dc:date>2015-04-23T18:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding the dll file</title>
      <link>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/12969270#M40515</link>
      <description>&lt;P&gt;Probably too late but&lt;BR /&gt;There is a thing called AddInManager, it allows you to rebuild project without shutting down the CAD. I was walking through similar questions all day, but no one tells about it.&lt;BR /&gt;Hope it will help&lt;BR /&gt;&lt;A href="https://github.com/chuongmep/CadAddInManager" target="_blank" rel="noopener"&gt;https://github.com/chuongmep/CadAddInManager&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 07:38:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/rebuilding-the-dll-file/m-p/12969270#M40515</guid>
      <dc:creator>lomaka360</dc:creator>
      <dc:date>2024-08-20T07:38:17Z</dc:date>
    </item>
  </channel>
</rss>

