<?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 My Navisworks Manage plugin don't load my another user .NET DLL in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11942568#M1386</link>
    <description>&lt;P&gt;I create a plugin that run correctly, but when need to call another .NET DLL (this DLL isn't registered in GAC) this call raises an unhandled exception that closes the Navisworks Manage 2022 Application.&lt;BR /&gt;I tested this call with a .NET DLL (test.dll) that only executes 'MessageBox.Show("I am here");' and this exception always occurs.&lt;BR /&gt;To extend this test I created a .NET executable that calls the same test.dll and all run fine.&lt;BR /&gt;In Resume:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;+ plugin doesn't call anything -&amp;gt; it's fine&lt;BR /&gt;+ plugin calls mytest.dll -&amp;gt; crash&lt;BR /&gt;+ another executable calls mytest.dll -&amp;gt; it's fine&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Because this I think if Navisworks plugin need a special configuration or permission to call another custom .NET DLL that isn't in GAC.&lt;BR /&gt;This is correct? How can I solve this problem to be able to call my test.dll from this plugin?&lt;BR /&gt;Thanks for any help.&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 20:14:11 GMT</pubDate>
    <dc:creator>GERSONBARBOZA</dc:creator>
    <dc:date>2023-05-04T20:14:11Z</dc:date>
    <item>
      <title>My Navisworks Manage plugin don't load my another user .NET DLL</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11942568#M1386</link>
      <description>&lt;P&gt;I create a plugin that run correctly, but when need to call another .NET DLL (this DLL isn't registered in GAC) this call raises an unhandled exception that closes the Navisworks Manage 2022 Application.&lt;BR /&gt;I tested this call with a .NET DLL (test.dll) that only executes 'MessageBox.Show("I am here");' and this exception always occurs.&lt;BR /&gt;To extend this test I created a .NET executable that calls the same test.dll and all run fine.&lt;BR /&gt;In Resume:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;+ plugin doesn't call anything -&amp;gt; it's fine&lt;BR /&gt;+ plugin calls mytest.dll -&amp;gt; crash&lt;BR /&gt;+ another executable calls mytest.dll -&amp;gt; it's fine&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Because this I think if Navisworks plugin need a special configuration or permission to call another custom .NET DLL that isn't in GAC.&lt;BR /&gt;This is correct? How can I solve this problem to be able to call my test.dll from this plugin?&lt;BR /&gt;Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 20:14:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11942568#M1386</guid>
      <dc:creator>GERSONBARBOZA</dc:creator>
      <dc:date>2023-05-04T20:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: My Navisworks Manage plugin don't load my another user .NET DLL</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11952108#M1387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10650423"&gt;@GERSONBARBOZA&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mentioned your Navisworks Manage plugin don't load my another user .NET DLL but loads the dll from the same user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you get dll from some other user,&amp;nbsp;&lt;SPAN&gt;Windows will sometimes treat these DLL files as suspicious and automatically block them from running.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you need to unblock the another user .NET dll.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;To unblock the dll,&amp;nbsp;&lt;SPAN&gt;right click dll file&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Go to Properties &amp;gt;&amp;gt; General &amp;gt;&amp;gt; Unblock&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is not helpful, Please send me a minimum reproducible visual studio sample project ,detailed description of your issue and , step-by-step approach to reproduce the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 16:02:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11952108#M1387</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2023-05-09T16:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: My Navisworks Manage plugin don't load my another user .NET DLL</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11952244#M1388</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 17:22:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11952244#M1388</guid>
      <dc:creator>GERSONBARBOZA</dc:creator>
      <dc:date>2023-05-09T17:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: My Navisworks Manage plugin don't load my another user .NET DLL</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11952256#M1389</link>
      <description>&lt;P&gt;Hi, Naveen.&lt;BR /&gt;Thanks for your help, but I was amazed with your suggestion to unblock the DLL. I confess that I have never seem this on windows system. &lt;span class="lia-unicode-emoji" title=":monkey_face:"&gt;🐵&lt;/span&gt;&lt;BR /&gt;Despite that I tried your procedure and there was no unblock option for my test.dll.&lt;BR /&gt;I'm sending to you a simple solution to test and verify the problem.&lt;BR /&gt;This solution has three projects:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;NavisworksRibbonHub (the plugin);&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;TestLibrary (the test.dll); and&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;ExecuteTestLibrary (the windows forms application that calls the test.dll, my sanity test :o)) ).&lt;/P&gt;&lt;P&gt;The build output of NavisworksRibbonHub is in default visual studio folder, and I use the post build event to copy these files to plugin directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 17:20:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11952256#M1389</guid>
      <dc:creator>GERSONBARBOZA</dc:creator>
      <dc:date>2023-05-09T17:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: My Navisworks Manage plugin don't load my another user .NET DLL</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11953561#M1390</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10650423"&gt;@GERSONBARBOZA&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can reproduce the problem on my end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Placing "TestLibrary.dll" in "C:\Program Files\Autodesk\Navisworks Manage 2024\Dependencies" folder helped me to solve the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below link helped me to solve the problem&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/navisworks-api/how-to-reference-other-dlls-into-my-plugin/td-p/3469122" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/navisworks-api/how-to-reference-other-dlls-into-my-plugin/td-p/3469122&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 07:02:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11953561#M1390</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2023-05-10T07:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: My Navisworks Manage plugin don't load my another user .NET DLL</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11954165#M1391</link>
      <description>Thanks. This solved the problem.</description>
      <pubDate>Wed, 10 May 2023 12:08:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/my-navisworks-manage-plugin-don-t-load-my-another-user-net-dll/m-p/11954165#M1391</guid>
      <dc:creator>GERSONBARBOZA</dc:creator>
      <dc:date>2023-05-10T12:08:41Z</dc:date>
    </item>
  </channel>
</rss>

