<?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: Addin loads when debugging in VS but not regularly in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addin-loads-when-debugging-in-vs-but-not-regularly/m-p/12536259#M163311</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10337235"&gt;@basautomationservices&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've encountered this behaviour once. For my case , this was related to using incorrect references for my add-in project.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Basicaly I was developing the add-in on my computer with a certain&amp;nbsp;&lt;EM&gt;Autodesk.Inventor.Interop&lt;/EM&gt; version.&amp;nbsp;&lt;BR /&gt;When I deployed to other computers, it had the same effect. The issue was they didn't have the specific version of the&amp;nbsp;&lt;EM&gt;Autodesk.Inventor.Interop&lt;/EM&gt; dll I was using on MY computer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix it I just set all the references &lt;EM&gt;local copy&lt;/EM&gt; to True, so any computer has it. This just paste the reference to your bin project so it always sticks to the add-in.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FINET_Laurent_0-1706871398804.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1321435i9F73DBC8BBCDB5E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FINET_Laurent_0-1706871398804.png" alt="FINET_Laurent_0-1706871398804.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommand having a look at &lt;U&gt;&lt;STRONG&gt;all&lt;/STRONG&gt; &lt;/U&gt;the references of your project to see if they are set up correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;FINET L.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 10:58:02 GMT</pubDate>
    <dc:creator>FINET_Laurent</dc:creator>
    <dc:date>2024-02-02T10:58:02Z</dc:date>
    <item>
      <title>Addin loads when debugging in VS but not regularly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addin-loads-when-debugging-in-vs-but-not-regularly/m-p/12536244#M163310</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem that I have not encountered before. I have an addin that will load and function when I'm debugging in Visual Studio, but it does not load when I'm not debugging.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When running inventor regularly, the add-in does not load. When I check loaded in the add-in manager, it unloads again without any errors..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 10:48:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addin-loads-when-debugging-in-vs-but-not-regularly/m-p/12536244#M163310</guid>
      <dc:creator>basautomationservices</dc:creator>
      <dc:date>2024-02-02T10:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Addin loads when debugging in VS but not regularly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addin-loads-when-debugging-in-vs-but-not-regularly/m-p/12536259#M163311</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10337235"&gt;@basautomationservices&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've encountered this behaviour once. For my case , this was related to using incorrect references for my add-in project.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Basicaly I was developing the add-in on my computer with a certain&amp;nbsp;&lt;EM&gt;Autodesk.Inventor.Interop&lt;/EM&gt; version.&amp;nbsp;&lt;BR /&gt;When I deployed to other computers, it had the same effect. The issue was they didn't have the specific version of the&amp;nbsp;&lt;EM&gt;Autodesk.Inventor.Interop&lt;/EM&gt; dll I was using on MY computer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix it I just set all the references &lt;EM&gt;local copy&lt;/EM&gt; to True, so any computer has it. This just paste the reference to your bin project so it always sticks to the add-in.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FINET_Laurent_0-1706871398804.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1321435i9F73DBC8BBCDB5E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FINET_Laurent_0-1706871398804.png" alt="FINET_Laurent_0-1706871398804.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommand having a look at &lt;U&gt;&lt;STRONG&gt;all&lt;/STRONG&gt; &lt;/U&gt;the references of your project to see if they are set up correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;FINET L.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 10:58:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addin-loads-when-debugging-in-vs-but-not-regularly/m-p/12536259#M163311</guid>
      <dc:creator>FINET_Laurent</dc:creator>
      <dc:date>2024-02-02T10:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Addin loads when debugging in VS but not regularly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addin-loads-when-debugging-in-vs-but-not-regularly/m-p/12536269#M163312</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9053366"&gt;@FINET_Laurent&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I remembered a long time ago I had a problem because I was using multiple different versions of one single (of my own) DLL, this I checked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you're saying could be the problem, I've recently been switching between 2023/2024 versions.&lt;BR /&gt;&lt;BR /&gt;Will have a look later to see if I can find it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for pointing me in this direction, will post the outcome here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 11:02:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addin-loads-when-debugging-in-vs-but-not-regularly/m-p/12536269#M163312</guid>
      <dc:creator>basautomationservices</dc:creator>
      <dc:date>2024-02-02T11:02:48Z</dc:date>
    </item>
  </channel>
</rss>

