<?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 reference other dlls into my plugin in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-reference-other-dlls-into-my-plugin/m-p/7290159#M7597</link>
    <description>&lt;P&gt;I have a related question...&lt;/P&gt;&lt;P&gt;Say a plugin uses newer version of 3rd party DLLs which are also shipped with Navisworks (e.g. Syncfusion or NewtonSoft), and these newer&amp;nbsp;DLLs get installed into the&amp;nbsp;&lt;SPAN&gt;&amp;lt;NW&amp;gt;\Dependencies\ folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These newer DLLs usually have additional&amp;nbsp;or changed methods&amp;nbsp;or properties.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What seems to happen now is that the DLLs from the&amp;nbsp;&amp;lt;NW&amp;gt; folder are used, not the DLLs from the &amp;lt;NW&amp;gt;\Dependencies\ folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As a result you get &lt;A href="https://stackoverflow.com/questions/8058832/system-missingmethodexception-method-not-found" target="_blank"&gt;missing method exceptions&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to resolve that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2017 10:37:11 GMT</pubDate>
    <dc:creator>Wolfgang.B.Weh</dc:creator>
    <dc:date>2017-08-10T10:37:11Z</dc:date>
    <item>
      <title>How to reference other dlls into my plugin</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-reference-other-dlls-into-my-plugin/m-p/3469122#M7594</link>
      <description>&lt;P&gt;Ok this is my setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A plugin for Navisworks.&lt;/P&gt;&lt;P&gt;An executable which calls and runs the plugin.&lt;/P&gt;&lt;P&gt;A dll containing forms and methods that both the executable and the plugin need to access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: Where do I need to put this dll so that the&amp;nbsp;plugin can find it? Currently, when I'm trying to debug my plugin, I'm getting&amp;nbsp;a "could not load file or assembly {my dll}... The system cannot find the file specified"&amp;nbsp;error as soon as it tries to access a method in the referenced dll.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm pretty new to Navisworks so any help would be very much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2012 14:47:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-reference-other-dlls-into-my-plugin/m-p/3469122#M7594</guid>
      <dc:creator>Paulio</dc:creator>
      <dc:date>2012-05-23T14:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference other dlls into my plugin</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-reference-other-dlls-into-my-plugin/m-p/3470248#M7595</link>
      <description>&lt;P&gt;You need to copy any dependencies of the plugin except any generated by the Navisworks API into the 'dependencies' folder, instead of the same folder of the plugin dll&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;e.g. Assume the plugin is "NWPlugin", it has one dependent class: Class1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;NW&amp;gt;\Plugins\NWPlugin\NWPlugin.dll&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;NW&amp;gt;\Dependencies\Class1.dll&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 03:41:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-reference-other-dlls-into-my-plugin/m-p/3470248#M7595</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2012-05-24T03:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference other dlls into my plugin</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-reference-other-dlls-into-my-plugin/m-p/3470360#M7596</link>
      <description>&lt;P&gt;Excellent. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 06:51:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-reference-other-dlls-into-my-plugin/m-p/3470360#M7596</guid>
      <dc:creator>Paulio</dc:creator>
      <dc:date>2012-05-24T06:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference other dlls into my plugin</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-reference-other-dlls-into-my-plugin/m-p/7290159#M7597</link>
      <description>&lt;P&gt;I have a related question...&lt;/P&gt;&lt;P&gt;Say a plugin uses newer version of 3rd party DLLs which are also shipped with Navisworks (e.g. Syncfusion or NewtonSoft), and these newer&amp;nbsp;DLLs get installed into the&amp;nbsp;&lt;SPAN&gt;&amp;lt;NW&amp;gt;\Dependencies\ folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These newer DLLs usually have additional&amp;nbsp;or changed methods&amp;nbsp;or properties.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What seems to happen now is that the DLLs from the&amp;nbsp;&amp;lt;NW&amp;gt; folder are used, not the DLLs from the &amp;lt;NW&amp;gt;\Dependencies\ folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As a result you get &lt;A href="https://stackoverflow.com/questions/8058832/system-missingmethodexception-method-not-found" target="_blank"&gt;missing method exceptions&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to resolve that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 10:37:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/how-to-reference-other-dlls-into-my-plugin/m-p/7290159#M7597</guid>
      <dc:creator>Wolfgang.B.Weh</dc:creator>
      <dc:date>2017-08-10T10:37:11Z</dc:date>
    </item>
  </channel>
</rss>

