<?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: System.IO.FileNotFoundException(API dll Name) in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/system-io-filenotfoundexception-api-dll-name/m-p/13327350#M114</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12333650"&gt;@yale.choi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="62" data-end="112"&gt;I am still unclear about the issue you reported.&lt;/P&gt;
&lt;P data-start="114" data-end="267"&gt;From what I understand, you are adding the &lt;CODE data-start="157" data-end="175"&gt;CS_Navis_API.dll&lt;/CODE&gt; to your &lt;CODE data-start="184" data-end="192"&gt;CS_API&lt;/CODE&gt; project. The &lt;CODE data-start="206" data-end="224"&gt;CS_Navis_API.dll&lt;/CODE&gt; contains the &lt;CODE data-start="238" data-end="257"&gt;Test_SelectionSet&lt;/CODE&gt; method.&lt;/P&gt;
&lt;P data-start="269" data-end="473"&gt;To investigate, I created a simple project named &lt;CODE data-start="318" data-end="332"&gt;CS_Navis_API&lt;/CODE&gt;, added the &lt;CODE data-start="344" data-end="362"&gt;CS_Navis_API.dll&lt;/CODE&gt;, and was able to access the &lt;CODE data-start="391" data-end="410"&gt;Test_SelectionSet&lt;/CODE&gt; method within the &lt;CODE data-start="429" data-end="443"&gt;CS_Navis_API&lt;/CODE&gt; project without any issues.&lt;/P&gt;
&lt;P data-start="475" data-end="665"&gt;In general, if the main plugin is deployed to &lt;CODE data-start="521" data-end="563"&gt;&amp;lt;Navisworks Installation Folder&amp;gt;\Plugins&lt;/CODE&gt;, its dependent DLLs should be placed in the &lt;CODE data-start="608" data-end="655"&gt;&amp;lt;Navisworks Installation Folder&amp;gt;\Dependencies&lt;/CODE&gt; folder.&lt;/P&gt;
&lt;P data-start="667" data-end="830"&gt;If this approach does not resolve the issue, please provide an isolated test project with detailed, step-by-step instructions to reproduce the problem on my end.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 09:40:41 GMT</pubDate>
    <dc:creator>naveen.kumar.t</dc:creator>
    <dc:date>2025-02-19T09:40:41Z</dc:date>
    <item>
      <title>System.IO.FileNotFoundException(API dll Name)</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/system-io-filenotfoundexception-api-dll-name/m-p/13326994#M111</link>
      <description>&lt;P&gt;I am currently developing with the Navisworks API using VB.NET. The version of Navisworks I am using is Navisworks 2024 Manage, and my development environment is Visual Studio 2019. I am working with .NET Framework version 4.8.2.&lt;/P&gt;&lt;P&gt;The plugin folder I am using is located at &lt;STRONG&gt;C:\Program Files\Autodesk\Navisworks Manage 2024\Plugins&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01. 플러그인 폴더.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468503iF21739CB9593AFB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="01. 플러그인 폴더.png" alt="01. 플러그인 폴더.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="04. Folder Inside.png" style="width: 760px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468504iECF85D20BB0F4C95/image-size/large?v=v2&amp;amp;px=999" role="button" title="04. Folder Inside.png" alt="04. Folder Inside.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I have successfully built the project, I am encountering a &lt;STRONG&gt;System.IO.FileNotFoundException&lt;/STRONG&gt; error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="02. VS Error.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468501iCF76F0E6FF39AC39/image-size/large?v=v2&amp;amp;px=999" role="button" title="02. VS Error.png" alt="02. VS Error.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="03. Navis Error.png" style="width: 500px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468502iC28AE50F93F5B0DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="03. Navis Error.png" alt="03. Navis Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DLL in question is present in the folder, so I am curious about what might be causing this error despite the DLL being available.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 05:12:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/system-io-filenotfoundexception-api-dll-name/m-p/13326994#M111</guid>
      <dc:creator>yale.choi</dc:creator>
      <dc:date>2025-02-19T05:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: System.IO.FileNotFoundException(API dll Name)</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/system-io-filenotfoundexception-api-dll-name/m-p/13327007#M112</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12333650"&gt;@yale.choi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you provide a simple, non-confidential Visual Studio project with a step-by-step guide to reproduce the issue on my end? Please refrain from sharing any information that you consider confidential to yourself or your company. Additionally, kindly include the expected and observed results.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 05:28:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/system-io-filenotfoundexception-api-dll-name/m-p/13327007#M112</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2025-02-19T05:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: System.IO.FileNotFoundException(API dll Name)</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/system-io-filenotfoundexception-api-dll-name/m-p/13327086#M113</link>
      <description>&lt;P&gt;The code I’m sharing is for testing purposes only, so there’s no concern regarding confidentiality. I’ve set the project to run in Debug mode to aid in debugging, and I’ve confirmed that Navisworks opens and the Command button works as expected. The issue arises when the process halts during the execution of the Test_SelectionSet procedure, as shown in the capture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="04. NavisWorks Work Fine.png" style="width: 621px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468519i32CF1535A67E9A0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="04. NavisWorks Work Fine.png" alt="04. NavisWorks Work Fine.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="02. VS Error.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468520i20FCC78FCB3F36D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="02. VS Error.png" alt="02. VS Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This Test_SelectionSet procedure is located in the Module_TestCommand, not in the Plugin Class, which may be a key point to note. For your reference, I’ve included the code for the Test_SelectionSet procedure in case it helps clarify the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Sub Test_SelectionSet()

        Dim CurrDocument As Api.Document = Api.Application.ActiveDocument
        Dim ModelSearch As New Api.Search

        ModelSearch.Selection.SelectAll()
        ModelSearch.SearchConditions.Add(Api.SearchCondition.HasPropertyByDisplayName("Standard", "Object ID").EqualValue(Api.VariantData.FromDisplayString("00013885-0000-0000-CB32-FDD45E65CE05")))
        ModelSearch.Locations = Api.SearchLocations.DescendantsAndSelf

        Dim MyCollection As Api.ModelItemCollection = ModelSearch.FindAll(CurrDocument, False)

        CurrDocument.SelectionSets.InsertCopy(0, New Api.SelectionSet(MyCollection) With {.DisplayName = "Test1"})

        ComFunc.CustomControls.CustomMessageBox("Done.", "Inform", WindowForms.MessageBoxIcon.Information)

    End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 06:46:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/system-io-filenotfoundexception-api-dll-name/m-p/13327086#M113</guid>
      <dc:creator>yale.choi</dc:creator>
      <dc:date>2025-02-19T06:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: System.IO.FileNotFoundException(API dll Name)</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/system-io-filenotfoundexception-api-dll-name/m-p/13327350#M114</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12333650"&gt;@yale.choi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="62" data-end="112"&gt;I am still unclear about the issue you reported.&lt;/P&gt;
&lt;P data-start="114" data-end="267"&gt;From what I understand, you are adding the &lt;CODE data-start="157" data-end="175"&gt;CS_Navis_API.dll&lt;/CODE&gt; to your &lt;CODE data-start="184" data-end="192"&gt;CS_API&lt;/CODE&gt; project. The &lt;CODE data-start="206" data-end="224"&gt;CS_Navis_API.dll&lt;/CODE&gt; contains the &lt;CODE data-start="238" data-end="257"&gt;Test_SelectionSet&lt;/CODE&gt; method.&lt;/P&gt;
&lt;P data-start="269" data-end="473"&gt;To investigate, I created a simple project named &lt;CODE data-start="318" data-end="332"&gt;CS_Navis_API&lt;/CODE&gt;, added the &lt;CODE data-start="344" data-end="362"&gt;CS_Navis_API.dll&lt;/CODE&gt;, and was able to access the &lt;CODE data-start="391" data-end="410"&gt;Test_SelectionSet&lt;/CODE&gt; method within the &lt;CODE data-start="429" data-end="443"&gt;CS_Navis_API&lt;/CODE&gt; project without any issues.&lt;/P&gt;
&lt;P data-start="475" data-end="665"&gt;In general, if the main plugin is deployed to &lt;CODE data-start="521" data-end="563"&gt;&amp;lt;Navisworks Installation Folder&amp;gt;\Plugins&lt;/CODE&gt;, its dependent DLLs should be placed in the &lt;CODE data-start="608" data-end="655"&gt;&amp;lt;Navisworks Installation Folder&amp;gt;\Dependencies&lt;/CODE&gt; folder.&lt;/P&gt;
&lt;P data-start="667" data-end="830"&gt;If this approach does not resolve the issue, please provide an isolated test project with detailed, step-by-step instructions to reproduce the problem on my end.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 09:40:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/system-io-filenotfoundexception-api-dll-name/m-p/13327350#M114</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2025-02-19T09:40:41Z</dc:date>
    </item>
  </channel>
</rss>

