<?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: NET-RELOAD Utility for Visual Studio - Download Here in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3186834#M58882</link>
    <description>&lt;P&gt;Hi aks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for highlighting your issue. Unfortunately it appears that Visual Studio Automation (i.e. COM) is not supported for express editions. I assume this is the problem you are experiencing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have another technique for automating this process&amp;nbsp;using the pre-build event command line setting in Visual Studio. I'll send you a private message on here in&amp;nbsp;a short while.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Art&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2011 06:25:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-10-11T06:25:35Z</dc:date>
    <item>
      <title>NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3185104#M58879</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;NET-RELOAD Utility&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m sure many of you are aware that there is no "NETUNLOAD" command for unloading a .NET assembly from AutoCAD. Apparently this would require a significant change to AutoCAD's .NET API and is not likely to change anytime soon. Refer here for further details: &lt;A target="_blank" href="http://through-the-interface.typepad.com/through_the_interface/2008/09/tired-of-not-be.html"&gt;http://through-the-interface.typepad.com/through_the_interface/2008/09/tired-of-not-be.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an alternative, I have created an AutoCAD utility that allows you to "re-load" an assembly after making modifications to your code - the best bit being you can do this &lt;STRONG&gt;WITHOUT&lt;/STRONG&gt; having to re-start AutoCAD each time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’d be really interested in hearing if you find this utility useful for AutoCAD .NET development purposes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Instructions&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To run the utility:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. download the attached &lt;U&gt;NetReload.dll&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;2. run AutoCAD, but do &lt;STRONG&gt;NOT&lt;/STRONG&gt; start it from Visual Studio.&lt;/P&gt;&lt;P&gt;3. NETLOAD the &lt;U&gt;NetReload.dll&lt;/U&gt; into AutoCAD.&lt;/P&gt;&lt;P&gt;4. open Visual Studio and make sure a file from the particular project you wish to re-load is active.&lt;/P&gt;&lt;P&gt;5. go back to AutoCAD and run the &lt;U&gt;NRL&lt;/U&gt; command.&lt;/P&gt;&lt;P&gt;6. in the command-line, select the Visual Studio instance you wish to re-load into AutoCAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you subsequently go back to Visual Studio and change your code, and then re-run the &lt;U&gt;NRL&lt;/U&gt; command in AutoCAD again, the code changes will automatically be loaded into AutoCAD and ready to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that you won’t be able to debug your code in Visual Studio with this tool (i.e. place breakpoints and step through code). You’ll have to re-start AutoCAD from within Visual Studio to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Notes&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Supports multiple opened instances of Visual Studio.&lt;/P&gt;&lt;P&gt;2. Has been checked in AutoCAD 2011 and 2012 (should also work in AutoCAD 2010).&lt;/P&gt;&lt;P&gt;3. Has been checked with Visual Studio 2010 (should also work for previous versions).&lt;/P&gt;&lt;P&gt;4. The &lt;U&gt;NRL&lt;/U&gt; command will default to the last chosen solution for the current AutoCAD session.&lt;/P&gt;&lt;P&gt;5. The &lt;U&gt;NRL&lt;/U&gt; command will advise if:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - no Visual Studio instances are currently open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - no solutions are open in any of the currently opened Visual Studio instances.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - no document is active for the chosen solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;How It Works&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Technically the &lt;U&gt;NRL&lt;/U&gt; command does not actually re-load the assembly for the chosen Visual Studio solution. Instead it does the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. accesses the chosen Visual Studio instance using Automation (i.e. COM).&lt;/P&gt;&lt;P&gt;2. based on the active Document for the Visual Studio instance, gets the project to compile.&lt;/P&gt;&lt;P&gt;3. sets the project’s "AssemblyName" property to a random name.&lt;/P&gt;&lt;P&gt;4. compiles the project to an assembly in the following project folder: "\bin\Debug\ReNetload"&lt;/P&gt;&lt;P&gt;5. sets the project’s " AssemblyName" property back to its orignal name.&lt;/P&gt;&lt;P&gt;6. NETLOADs the assembly from "\bin\Debug\ReNetload" into AutoCAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason this works is because when you NETLOAD the randomly named assembly into AutoCAD, all of the previously defined commands of the same name are overriden by those defined in the last loaded assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Tips&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A quick way to get this assembly to automatically load when AutoCAD starts is to add the lisp code below to the acad2010.lsp / acad2011.lsp / acad2012.lsp file. Obviously you will need to change this depending on where you place NetReload.dll.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setq S::STARTUP (append S::STARTUP (list (command "netload" "C:\\MyAutoCAD\\ NetReload.dll") (princ))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Source Code&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the C# source code file so you can build this yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that you will need to add the following project references so that it compiles:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. envdte.dll (Visual Studio Automation - i.e. COM).&lt;/P&gt;&lt;P&gt;2. System.Windows.Forms.dll (WaitCursor helper class).&lt;/P&gt;&lt;P&gt;3. acdbmgd.dll and acmgd.dll (AutoCAD).&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2011 13:30:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3185104#M58879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-09T13:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3185148#M58880</link>
      <description>&lt;P&gt;Of course. Are you kidding? This is going to a great help for me. I cannot wait to try it out on Monday. I am just starting out to rewrite my acad VBA applications to .NET and I have come to the conclusion that I will need to develop as much of the applications as I can independent of AutoCAD before adding in the AutoCAD aspects that will require netloading to continue development. I have considered doing manually what NRL does but as a VS greenhorn I am already overwhelmed performing even&amp;nbsp;the simplest task. I hope you will share this and future applications with us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;aks&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2011 16:18:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3185148#M58880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-09T16:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3186742#M58881</link>
      <description>&lt;P&gt;I built the project with no errors reported but Microsoft stepped in at Netload time telling me I did not have permissions to do so. I am using VS 2010 express. I can build and netload vb creations. Can you help with this? Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2011 03:12:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3186742#M58881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-11T03:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3186834#M58882</link>
      <description>&lt;P&gt;Hi aks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for highlighting your issue. Unfortunately it appears that Visual Studio Automation (i.e. COM) is not supported for express editions. I assume this is the problem you are experiencing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have another technique for automating this process&amp;nbsp;using the pre-build event command line setting in Visual Studio. I'll send you a private message on here in&amp;nbsp;a short while.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Art&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2011 06:25:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3186834#M58882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-11T06:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3188530#M58883</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="hps"&gt;I would not recommend&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this method&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for debugging:&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;1.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;If the application is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;subscribed with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the events of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;AutoCAD -&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&lt;SPAN&gt;&lt;SPAN class="hps"&gt;will be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;conflict&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;2.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;If your application uses&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;shared resources (&lt;/SPAN&gt;&lt;SPAN&gt;file&lt;/SPAN&gt;&lt;SPAN&gt;, database)&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;- will be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;conflict&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;3.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;If the application uses&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the palette&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;-&lt;/SPAN&gt; &lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="hps"&gt;will be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;conflict&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;Only in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the simplest&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;cases, you can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this algorithm&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;IMHO.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 09:07:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3188530#M58883</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2011-10-12T09:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189072#M58884</link>
      <description>&lt;P&gt;I cannot "build" my app after&amp;nbsp;it has been&amp;nbsp;netloaded in acad.&amp;nbsp; VS 2008 gives me this&amp;nbsp;message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error&amp;nbsp;1&amp;nbsp;Unable to copy file "obj\Release\ViewPorts.dll" to "bin\Debug\ViewPorts.dll". The process cannot access the file 'bin\Debug\ViewPorts.dll' because it is being used by another process.&amp;nbsp;ViewPorts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Start acad&lt;/P&gt;&lt;P&gt;2. Load app&lt;/P&gt;&lt;P&gt;3. Make changes to code&lt;/P&gt;&lt;P&gt;4. Build generates error&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 14:57:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189072#M58884</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2011-10-12T14:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189168#M58885</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes these should definately be kept in mind. This utility will not necessarily suit some of the situations you listed, and I wouldn't say it's the way to go when debugging large fully fledged applications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you're just looking to experiment with different parts of the API it is very cumbersome to:&lt;/P&gt;&lt;P&gt;1. Close the drawing you are working on.&lt;/P&gt;&lt;P&gt;2. Close AutoCAD.&lt;/P&gt;&lt;P&gt;3. Change your code in Visual Studio.&lt;/P&gt;&lt;P&gt;4. Build your dll in Visual Studio.&lt;/P&gt;&lt;P&gt;5. Re-start AutoCAD.&lt;/P&gt;&lt;P&gt;6. Re-open the drawing you are working on.&lt;/P&gt;&lt;P&gt;7. NETLOAD your revised dll.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Especially for every change you make to your code - no matter how small. With my utility you can skip steps 1, 2, 4, 5, 6 and 7 above. All you have to do is change your code in Visual Studio and then run my NRL command in AutoCAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I like to think this is for the pragmatist. It's saved me loads of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 15:39:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189168#M58885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-12T15:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189218#M58886</link>
      <description>&lt;P&gt;Hi fieldguy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes that is the error you will receive in Visual Studio when you try to build (F6) to a dll that has already been loaded into AutoCAD (i.e. using NETLOAD). Makes sense to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's important to understand with this utility that you don't actually do anything from Visual Studio (other than change your code).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to&amp;nbsp;use the utility, please try the following:&lt;/P&gt;&lt;P&gt;1. Download the attached zip file from my original post and extract the &lt;U&gt;NetReload.dll&lt;/U&gt; file.&lt;/P&gt;&lt;P&gt;2. Open your solution in Visual Studio and make sure that at least one of your project's code files are current.&lt;/P&gt;&lt;P&gt;3. In AutoCAD, load the &lt;U&gt;NetReload.dll&lt;/U&gt; (i.e. using NETLOAD).&lt;/P&gt;&lt;P&gt;4. Run the &lt;U&gt;NRL&lt;/U&gt; command in AutoCAD. This command will do all of the work for you.&amp;nbsp;You will be&amp;nbsp;prompted from within AutoCAD to select a running instance of Visual Studio. The command will then automatically&amp;nbsp;build the solution and load it into AutoCAD. You won't have to switch back to Visual Studio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please don't hesitate to&amp;nbsp;let me know how this goes for you, or if you have any further questions on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 16:14:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189218#M58886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-12T16:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189240#M58887</link>
      <description>&lt;P&gt;I understand now.&amp;nbsp; Thank you very much - this is an awesome tool!&amp;nbsp; Nice&amp;nbsp;code - that opens some new doors.&amp;nbsp; Thanks for sharing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user has to make sure to build from VS at the end of the development process to&amp;nbsp;make sure the dll with the desired name matches the "tempassemblyname" dll.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 16:26:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189240#M58887</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2011-10-12T16:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189260#M58888</link>
      <description>&lt;P&gt;Hi fieldguy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes that's right. The utility&amp;nbsp;creates randomly named dll files in the "bin\Debug\NetReload\" folder. Once you're finished you should build (F6) your solution&amp;nbsp;in Visual Studio to update the dll in the "bin\Debug\" folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glad you like it &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 16:39:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189260#M58888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-12T16:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189290#M58889</link>
      <description>&lt;P&gt;My initial problem is caused by the assembly being loaded off our local network. I am able to netload it when it resides on my local drive. Now the problem is , "No running Viusla Studio instances were found." I am hoping this can be fixed with a tweak to the code somewhere. Do you think this is possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, aks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 16:56:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189290#M58889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-12T16:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189322#M58890</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="hps"&gt;As an alternative&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;-&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;simply rename the&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;dll-&lt;/SPAN&gt;&lt;SPAN&gt;file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;create&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a new one with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the same name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 17:10:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189322#M58890</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2011-10-12T17:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189334#M58891</link>
      <description>&lt;P&gt;I think you need to search here for CASPOL.&amp;nbsp; You can run dlls locally or setup CASPOL to allow access to user defined network dlls.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 17:17:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189334#M58891</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2011-10-12T17:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189338#M58892</link>
      <description>&lt;P&gt;Hi aks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you get my response to your last post?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't believe this will work for VS express editions. However I&amp;nbsp;might have another&amp;nbsp;way of doing this with express.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I sent you a private message. To access your messages just click on the mail symbol at the top of the webpage&amp;nbsp;(as shown in the pic below):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" title="aaa.jpg" align="center" alt="aaa.jpg" src="http://forums.autodesk.com/t5/image/serverpage/image-id/14500iF6DA17A19724650A/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope to hear back from you soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 17:18:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189338#M58892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-12T17:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189376#M58893</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try that -&amp;nbsp;unfortunately renaming dll files doesn't work. The commands don't get overriden.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears that the dll files need to have different&amp;nbsp;Intermediate Language (IL)&amp;nbsp;signatures.&amp;nbsp;Then the commands are overriden in AutoCAD with subsequent NETLOADs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you change a project's &lt;EM&gt;AssemblyName&lt;/EM&gt; property before you compile the dll files, then it works. I'm not exactly sure of the reason. I'm guessing when I say it might have&amp;nbsp;something to&amp;nbsp;do with the way AutoCAD loads .NET assemblies into its&amp;nbsp;AppDomain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 17:42:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189376#M58893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-12T17:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189614#M58894</link>
      <description>&lt;P&gt;Thanks for reminding me about CASPOL. I did not have rights to do that the last time I looked into this. I'll give it another shot. Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 20:23:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3189614#M58894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-12T20:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3737814#M58895</link>
      <description>&lt;P&gt;I am a fairly seasoned .NET developer and have been battling to set up a reasonable environment in which to work with Autocad 2013 / Visual Studio 2012. It has been quite a pain between not being able to debug, nor being able to "netreload" an assembly. This little utility is clever as hell, useful as all getout, and the first bit of light in my otherwise dismal experience with this. Nice work-around. Thank you Artvegas!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI I had to set up a project and recompile it to get NetReload.dll to work in Autocad 2013. Also, the EnvDTE assembly can be referenced from Assemblies --&amp;gt; Extensions. Had to search for that a bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Sun, 16 Dec 2012 00:57:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3737814#M58895</guid>
      <dc:creator>KevinMacDonald</dc:creator>
      <dc:date>2012-12-16T00:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3751731#M58896</link>
      <description>&lt;P&gt;First... Thank you very much!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For those using the new &lt;STRONG&gt;Microsoft Visual Studio 2012 Express for Windows Desktop&lt;/STRONG&gt; edition, here's the compatible version I compiled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NetReload2013&lt;/STRONG&gt; command to run!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jan 2013 00:39:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3751731#M58896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-13T00:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3756276#M58897</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to load your dll file direct with netload command. It shows me below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command: netload&lt;BR /&gt;Cannot load assembly. Error details: System.IO.FileLoadException: Could not&lt;BR /&gt;load file or assembly 'file:///C:\Users\alamzaki\Desktop\VB_PPT\NetReload.dll'&lt;BR /&gt;or one of its dependencies. Operation is not supported. (Exception from&lt;BR /&gt;HRESULT: 0x80131515)&lt;BR /&gt;File name: 'file:///C:\Users\alamzaki\Desktop\VB_PPT\NetReload.dll' ---&amp;gt;&lt;BR /&gt;System.NotSupportedException: An attempt was made to load an assembly from a&lt;BR /&gt;network location which would have caused the assembly to be sandboxed in&lt;BR /&gt;previous versions of the .NET Framework. This release of the .NET Framework&lt;BR /&gt;does not enable CAS policy by default, so this load may be dangerous. If this&lt;BR /&gt;load is not intended to sandbox the assembly, please enable the&lt;BR /&gt;loadFromRemoteSources switch. See &lt;A href="http://go.microsoft.com/fwlink/?LinkId=155569" target="_blank"&gt;http://go.microsoft.com/fwlink/?LinkId=155569&lt;/A&gt;&lt;BR /&gt;for more information.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String&lt;BR /&gt;codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,&lt;BR /&gt;StackCrawlMark&amp;amp; stackMark, Boolean throwOnFileNotFound, Boolean&lt;BR /&gt;forIntrospection, Boolean suppressSecurityChecks)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String&lt;BR /&gt;codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,&lt;BR /&gt;StackCrawlMark&amp;amp; stackMark, Boolean throwOnFileNotFound, Boolean&lt;BR /&gt;forIntrospection, Boolean suppressSecurityChecks)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName&lt;BR /&gt;assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean&lt;BR /&gt;forIntrospection, Boolean suppressSecurityChecks)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile,&lt;BR /&gt;Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm&lt;BR /&gt;hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks,&lt;BR /&gt;StackCrawlMark&amp;amp; stackMark)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.Assembly.LoadFrom(String assemblyFile)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at loadmgd()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you have a look at this? It seems to me that this utility would be great if I can use it. I use only VB so I did not build your C# code into dll. Do you have VB command for this utility?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2013 09:46:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3756276#M58897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-18T09:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: NET-RELOAD Utility for Visual Studio - Download Here</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3756277#M58898</link>
      <description>&lt;P&gt;Sorry , I forgot to add my ACAD version. I am using ACAD2011 to load your dll&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2013 09:47:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-reload-utility-for-visual-studio-download-here/m-p/3756277#M58898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-18T09:47:19Z</dc:date>
    </item>
  </channel>
</rss>

