<?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: Referenced  third party DLL throws Exception on other Machines . in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3792399#M50834</link>
    <description>&lt;P&gt;It is look like AutoCAD can not find &lt;STRONG&gt;DocumentFormat.OpenXml.dll&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2013 13:56:49 GMT</pubDate>
    <dc:creator>Alexander.Rivilis</dc:creator>
    <dc:date>2013-02-28T13:56:49Z</dc:date>
    <item>
      <title>Referenced  third party DLL throws Exception on other Machines .</title>
      <link>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3792099#M50833</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a lib folder in my projects folder and then with 'Add Reference' added the reference to my project. It works well for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I executed this DLL in another system it throws an Exception "Cannot load the file or..........."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception file attached.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2013 06:01:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3792099#M50833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-28T06:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced  third party DLL throws Exception on other Machines .</title>
      <link>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3792399#M50834</link>
      <description>&lt;P&gt;It is look like AutoCAD can not find &lt;STRONG&gt;DocumentFormat.OpenXml.dll&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2013 13:56:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3792399#M50834</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2013-02-28T13:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced  third party DLL throws Exception on other Machines .</title>
      <link>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793156#M50835</link>
      <description>&lt;P&gt;yes the error message &amp;nbsp;says that the same, specified file could not be found. But I have added the reference for the same and it works well on my system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My query is how can I get the file included for other machines, so that the dll executes without exception. Is there any other way? The dll also could not be registered in any system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 04:19:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793156#M50835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-01T04:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced  third party DLL throws Exception on other Machines .</title>
      <link>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793166#M50836</link>
      <description>&lt;P&gt;Any dependent assemblies used by your assembly, directly or indirectly, must be in the same folder as your plugin's main assembly, or must be in the same folder where acad.exe is located.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You don't mention how you 'executed' the DLL, but you should test it using NETLOAD, in addition to any other means of loading, such as AutoCAD's Auto-loader, and by registering the assembly for demand-loading in the registry.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 04:51:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793166#M50836</guid>
      <dc:creator>DiningPhilosopher</dc:creator>
      <dc:date>2013-03-01T04:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced  third party DLL throws Exception on other Machines .</title>
      <link>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793173#M50837</link>
      <description>&lt;P&gt;I added the external third party dll in the projects folder.&lt;/P&gt;&lt;P&gt;The DLL I created was loaded with NETLOAD. When it goes to command which uses the functions from the external, throws exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 05:26:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793173#M50837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-01T05:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced  third party DLL throws Exception on other Machines .</title>
      <link>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793179#M50838</link>
      <description>&lt;P&gt;Note in the error message it says 'Could not load file or assembly DocumentFormat.OpenXml' (bloh blah blah) &lt;FONT color="#FF0000"&gt;&lt;EM&gt;or one of its dependencies&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other words, you must look at that assembly (DocumentFormat.OpenXml) and see what additional assemblies it is dependent on (e.g, what assemblies does it reference, other than the standard framework assemblies), and you must also include those dependent assemblies in your project output folder, if they are not already there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One common cause of this problem is a dependent assembly that's installed into the Global Assembly Cache, which will not be copied to the project folder. In that case you need to ensure that any such assemblies are installed on the target system as well.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 05:48:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793179#M50838</guid>
      <dc:creator>DiningPhilosopher</dc:creator>
      <dc:date>2013-03-01T05:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Referenced  third party DLL throws Exception on other Machines .</title>
      <link>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793183#M50839</link>
      <description>&lt;P&gt;Installed the&amp;nbsp;&amp;nbsp;assemblies to the target system also. It works well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 05:58:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/referenced-third-party-dll-throws-exception-on-other-machines/m-p/3793183#M50839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-01T05:58:19Z</dc:date>
    </item>
  </channel>
</rss>

