<?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: netload does not load dll in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743282#M51880</link>
    <description>&lt;P&gt;Post a copy of your project's &amp;nbsp;.csproj file.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2012 18:08:38 GMT</pubDate>
    <dc:creator>DiningPhilosopher</dc:creator>
    <dc:date>2012-12-27T18:08:38Z</dc:date>
    <item>
      <title>netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742913#M51869</link>
      <description>&lt;P&gt;I'm having trouble with my command not loading via a netload in AutoCAD 2012 SP1 64bit running on Windows 7 64bit.&amp;nbsp; It works on most of my user's computers, but on a couple of the computers it doesn't seem to be doing anything.&amp;nbsp; I'm using Visual Studio 2010 for coding and debugging, but I don't have debugging software on the computer that is causing the problem.&amp;nbsp; I've attached my commands class in it's entirety to this post in the hopes that someone can point me in the right direction.&amp;nbsp; The dll resides local on the user's computer and is not in a network location.&amp;nbsp; When I run the netload on the development machine or one of my other working users, I get the message boxes and the program seems to run fine, but on the computers that aren't working I get nothing.&amp;nbsp; No errors, no message boxes, nothing.&amp;nbsp; Any questions or solutions would be greatly appreciated as I've been trying all sorts of things to see what I can do to resolve the problem.&amp;nbsp; Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2012 21:57:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742913#M51869</guid>
      <dc:creator>ChrisBatt</dc:creator>
      <dc:date>2012-12-26T21:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742917#M51870</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least when starting command _NETLOAD and pointing to your dll you get some infos at command-line,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2012 21:58:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742917#M51870</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-12-26T21:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742920#M51871</link>
      <description>&lt;P&gt;Actually there is no error in the command line.&amp;nbsp; That is what is really frustrating.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2012 21:58:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742920#M51871</guid>
      <dc:creator>ChrisBatt</dc:creator>
      <dc:date>2012-12-26T21:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742922#M51872</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; Actually there is no error in the command line.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I can't beleive that (even tried &amp;lt;F2&amp;gt; to see more lines?), but ok.&lt;/P&gt;&lt;P&gt;Have you tried any of the sample-projects shipped with the ObjectARX-kit? Do they also not load/run?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2012 22:01:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742922#M51872</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-12-26T22:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742927#M51873</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;an additional idea: remove the INITIALIZE part, if there are exceptions in it the loading of the DLL may fail.&lt;/P&gt;&lt;P&gt;You can try to run your initialize at the first command-start of one of your commands (at least for a test period)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2012 22:10:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742927#M51873</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-12-26T22:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742931#M51874</link>
      <description>&lt;P&gt;Hope this makes sense.&amp;nbsp; Here is my entire command prompt from when I try the netload:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customization file loaded successfully. Customization Group: ACAD&lt;/P&gt;&lt;P&gt;Customization file loaded successfully. Customization Group: AUTOCADWS&lt;/P&gt;&lt;P&gt;Customization file loaded successfully. Customization Group: AUTODESKSEEK&lt;/P&gt;&lt;P&gt;Customization file loaded successfully. Customization Group: CONTENTEXPLORER&lt;/P&gt;&lt;P&gt;Customization file loaded successfully. Customization Group: EXPRESS&lt;/P&gt;&lt;P&gt;Regenerating model.&lt;/P&gt;&lt;P&gt;Command: _RIBBON&lt;/P&gt;&lt;P&gt;Command: COMMANDLINE&lt;/P&gt;&lt;P&gt;Command: acenav&lt;/P&gt;&lt;P&gt;Command:&lt;/P&gt;&lt;P&gt;Command:&lt;/P&gt;&lt;P&gt;Command: NETLOAD&lt;/P&gt;&lt;P&gt;Command: PID&lt;/P&gt;&lt;P&gt;Unknown command "PID".&amp;nbsp; Press F1 for help.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2012 22:13:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742931#M51874</guid>
      <dc:creator>ChrisBatt</dc:creator>
      <dc:date>2012-12-26T22:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742935#M51875</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"unknown command" does not necessarily mean "DLL not loaded". This also happens when you used the wrong framework for creating your DLL or any defects in the framework-installations.&lt;/P&gt;&lt;P&gt;Try my two tips above, remove the INITIALIZE sequence in your project for test and try to load another DLL from any other project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH, - alfred -&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2012 22:18:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742935#M51875</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-12-26T22:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742938#M51876</link>
      <description>&lt;P&gt;Alright, I tried&amp;nbsp;loading a different dll and this one&amp;nbsp;worked correctly.&amp;nbsp; I also removed the initialize code completely and removed the IExtensionApplication inheritance my commands class.&amp;nbsp; The problem still exists on my one computer, but loads correctly on my other computer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2012 22:27:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742938#M51876</guid>
      <dc:creator>ChrisBatt</dc:creator>
      <dc:date>2012-12-26T22:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742939#M51877</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; I tried&amp;nbsp;loading a different dll [...] I also removed the initialize code&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Wow, you are fast! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; The problem still exists on my one computer, but loads correctly on my other computer.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What are the differences between those workstations (os, os servicepack, AutoCAD + SP, installed Frameworks, ...)&lt;/P&gt;&lt;P&gt;If on the "defect system" other DLLs work well I would start to do two things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;look that "local copy" for the references from AutoCAD (acmgd and acdbmgd) is set to false ...because if you copy them to the destination directory of your DLL ... and these DLLs are from another AutoCAD servicepack then your AutoCAD you also may get the problem with unknown command.&lt;/LI&gt;&lt;LI&gt;try to repair Framework-installations&lt;/LI&gt;&lt;LI&gt;copy/paste your code from the none-functional project into the test-project&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck,&amp;nbsp; - alfred -&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2012 22:34:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3742939#M51877</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-12-26T22:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743031#M51878</link>
      <description>&lt;P&gt;Open the Registry editor, and go to the registry key where your application is creating the demand-load entries, and delete the entire key so that there is no demand-loading of your app to confuse things.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My guess is that AutoCAD is loading another copy of your assembly at startup, or when your command is issued.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're developing and use demand-loading you need to be sure that the location of the assembly in the registry is the same as the location of the assembly you're building and testing.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2012 09:58:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743031#M51878</guid>
      <dc:creator>DiningPhilosopher</dc:creator>
      <dc:date>2012-12-27T09:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743140#M51879</link>
      <description>&lt;P&gt;Alright here is what I have tried now thanks to the two previous posts.&amp;nbsp; I made sure that the reference "Copy Local" was set to false which it was.&amp;nbsp; I tried repairing the .Net Installations.&amp;nbsp; The development PC is Windows 7 Enterprise 64-bit with SP1 and the PC that I am having trouble with is Windows 7 Ultimate 64-bit SP1.&amp;nbsp; They both have the same versions of .NET framework.&amp;nbsp; I also checked the registry and there are no records for my new dll that I was trying to have created on demand loading.&amp;nbsp; I made sure that there weren't any other records and conflicts pertaining to the registry.&amp;nbsp; After all of this I tried again and to no avail.&amp;nbsp; The problem still persists on one PC.&amp;nbsp; I have about 15 PCs running Windows 7 64-bit Enterprise and Ultimate with SP1 which all seem to work fine.&amp;nbsp; They are all running the same version of AutoCAD 2012 SP1.&amp;nbsp; I have also tried a reinstall of AutoCAD just to see if this was causing an issue.&amp;nbsp; Any other thoughts or suggestions...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2012 14:16:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743140#M51879</guid>
      <dc:creator>ChrisBatt</dc:creator>
      <dc:date>2012-12-27T14:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743282#M51880</link>
      <description>&lt;P&gt;Post a copy of your project's &amp;nbsp;.csproj file.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2012 18:08:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743282#M51880</guid>
      <dc:creator>DiningPhilosopher</dc:creator>
      <dc:date>2012-12-27T18:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743385#M51881</link>
      <description>&lt;P&gt;Here is my .csproj for your review.&amp;nbsp; I changed the extension to .txt so that I could upload it to the site.&amp;nbsp; Thanks a bunch.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2012 21:55:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743385#M51881</guid>
      <dc:creator>ChrisBatt</dc:creator>
      <dc:date>2012-12-27T21:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743875#M51882</link>
      <description>&lt;P&gt;There's quite a few potential causes for the problem, starting with your referencing of the AutoCAD COM interop assemblies, which is something I would avoid like the plague.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other issue is that your project has a deployment setup that will attempt to install required components if they are not already installed. I'm not sure you need that with an AutoCAD extension because the prerequsite components are required by AutoCAD, so they have to be installed already, and the bootstrapping process could have a role in the failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is difficult to diagnose because there are third-party components involved, and any one of them could potentially cause the failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I would start by making sure that all of the third-party components required by your app are installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you still can't identify the cause of the problem, then I would resort to the fusion log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.hanselman.com/blog/BackToBasicsUsingFusionLogViewerToDebugObscureLoaderErrors.aspx" target="_blank"&gt;http://www.hanselman.com/blog/BackToBasicsUsingFusionLogViewerToDebugObscureLoaderErrors.aspx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Dec 2012 10:48:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743875#M51882</guid>
      <dc:creator>DiningPhilosopher</dc:creator>
      <dc:date>2012-12-29T10:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743993#M51883</link>
      <description>&lt;P&gt;Have a look at this Swamp post. &amp;nbsp;Attached to it is a tool that may identify the cause of the failure. &amp;nbsp;It can detect several possible causes of unrecognized commands when an assembly is loaded:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT size="2"&gt;&lt;A href="http://www.theswamp.org/index.php?topic=43466.0" target="_blank"&gt;MYNETLOAD - Extension Loader Diagnostic Tool &lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Dec 2012 03:20:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3743993#M51883</guid>
      <dc:creator>DiningPhilosopher</dc:creator>
      <dc:date>2012-12-30T03:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: netload does not load dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3746004#M51884</link>
      <description>&lt;P&gt;Alright,&amp;nbsp; I've finally got some time to get back to this problem after the New Year.&amp;nbsp; After trying the MYNETLOAD&amp;nbsp;diagnostic tool without any luck.&amp;nbsp; I resigned myself to removing the&amp;nbsp;references on other programs and found out that my problem fell upon a bad install of crystal reports.&amp;nbsp; I got the program to work without the&amp;nbsp;references and added one thing after another back in and it always didn't work after I added the crystal reports references.&amp;nbsp; I then uninstalled crystal reports from the problem pc and then reinstalled and tried the program again.&amp;nbsp; This time everything worked as inteneded.&amp;nbsp; I appreciate all of the assistance in solving this problem as I now have lots of tools and options that I wasn't aware of at the beginning to try and troubleshoot these types of problems in the future.&amp;nbsp; Kudos to you all for being so helpful and getting me pointed in the right direction.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2013 13:20:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/netload-does-not-load-dll/m-p/3746004#M51884</guid>
      <dc:creator>ChrisBatt</dc:creator>
      <dc:date>2013-01-04T13:20:02Z</dc:date>
    </item>
  </channel>
</rss>

