<?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: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11726995#M14083</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12896310"&gt;@moturi.magati.george&lt;/a&gt;Yes, I already knew I don't need them in Forge &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;Thank you very much for the info. This is exactly what I wanted to hear. Awesome news.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4176855"&gt;@ricaun&lt;/a&gt;Actually, package size is one of the reasons I asked this question, because we support multiple Revit versions, so deleting multiple revit api files is going to reduce size quite a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 10:52:57 GMT</pubDate>
    <dc:creator>adam_konca</dc:creator>
    <dc:date>2023-02-03T10:52:57Z</dc:date>
    <item>
      <title>Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11723167#M14079</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;This is a fairly simple question that came to mind when I started researching Design Automation (APS/Forge). One of the DA tutorials says that Revit API dlls are not required in app bundle and that is correct. I managed to upload the app bundle with just my dll + addin file and was able to run a successful work.&lt;BR /&gt;&lt;BR /&gt;Before we switch completely to Forge, we still have our regular addin and as of now, we are including Revit API files into our release package (that is installed on client computers with Revit). Seeing the Forge case, I started wondering, is this required for regular addins?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for you time.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 03:33:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11723167#M14079</guid>
      <dc:creator>adam_konca</dc:creator>
      <dc:date>2023-02-02T03:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11723334#M14080</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4174719"&gt;@adam_konca&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Forge is a cloud-based service. This means that instead of installing the software on your machine, the same is done on Autodesk servers and you are able to utilize the resources online.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This said, you don't need to include&amp;nbsp;to include RevitAPI.dll and RevitAPIUI.dll when building a forge application. If some services might need it, I might not be aware of the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can read more here:&amp;nbsp;&lt;A href="https://aps.autodesk.com/blog/what-forge" target="_blank"&gt;https://aps.autodesk.com/blog/what-forge&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also view examples and walkthroughs here:&amp;nbsp;&lt;A href="https://github.com/orgs/Autodesk-Forge/repositories?type=all" target="_blank"&gt;https://github.com/orgs/Autodesk-Forge/repositories?type=all&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 06:26:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11723334#M14080</guid>
      <dc:creator>moturi.magati.george</dc:creator>
      <dc:date>2023-02-02T06:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11723570#M14081</link>
      <description>&lt;P&gt;Yes, and to address the desktop part of your question (well, the only part, actually):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nope, absolutely no need to include the Revit API assemblies with your desktop add-in distribution, and actually a big non-no to do so. They are part of the Revit installation and live in the same folder as Revit.exe itself. In your development environment, you should set the 'Copy Local' property on all Revit API assemblies to 'false' to ensure that they are &lt;U&gt;not&lt;/U&gt; copied into your distribution package. Your add-in should (and must) use the&amp;nbsp;Revit API assemblies provided (and already loaded) by Revit:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2009/06/export-family-instance-to-gbxml.html" target="_blank"&gt;Export Family Instance to gbXML&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2011/08/set-copy-local-to-false.html" target="_blank"&gt;Set Copy Local to False&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2017/06/copy-local-false-and-ifc-utils-for-wall-openings.html" target="_blank"&gt;Copy Local False and IFC Utils for Wall Openings&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 08:29:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11723570#M14081</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-02-02T08:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11724129#M14082</link>
      <description>It's a good practice to not include the RevitAPI.dll or other dll file included in Revit with your release.&lt;BR /&gt;&lt;BR /&gt;Most of the time Revit gonna ignore the dll that is already loaded.&lt;BR /&gt;&lt;BR /&gt;And the Revit in Forge/APS works in the same way, is basically the same engine without the UI.&lt;BR /&gt;&lt;BR /&gt;In the end, is better to not include it, makes your package smaller size. (RevitAPI.dll around ±28kb)</description>
      <pubDate>Thu, 02 Feb 2023 12:54:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11724129#M14082</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2023-02-02T12:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11726995#M14083</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12896310"&gt;@moturi.magati.george&lt;/a&gt;Yes, I already knew I don't need them in Forge &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;Thank you very much for the info. This is exactly what I wanted to hear. Awesome news.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4176855"&gt;@ricaun&lt;/a&gt;Actually, package size is one of the reasons I asked this question, because we support multiple Revit versions, so deleting multiple revit api files is going to reduce size quite a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 10:52:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11726995#M14083</guid>
      <dc:creator>adam_konca</dc:creator>
      <dc:date>2023-02-03T10:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11727761#M14084</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;One more question if I may. What about other libraries like Newtonsoft.Json.dll? I see that it also comes with Revit, so can I set "Copy Local" to false on it as well? What happens when I use newer version of this library than the one provided with Revit? Which one would be loaded?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 15:43:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11727761#M14084</guid>
      <dc:creator>adam_konca</dc:creator>
      <dc:date>2023-02-03T15:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11727828#M14085</link>
      <description>&lt;P&gt;I never copy the Newtonsoft.Json.dll and always use version 9.0.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your application ask for a bigger version than that Revit contain, probably gonna load two version of the Newtonsoft.Json in the AppDomain and stages things could happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like this:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/bim-360-links-not-found-fix/td-p/11463147" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/bim-360-links-not-found-fix/td-p/11463147&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 16:03:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11727828#M14085</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2023-02-03T16:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11728042#M14086</link>
      <description>Does it mean that every time I am adding a library to my addin, I need to check if it is shipped with Revit first? And if it is, just add the same version to my addin with "Copy Local" set to false?&lt;BR /&gt;However, if it is not shipped with Revit then I can freely add my version with "Copy Local" true.&lt;BR /&gt;Do I understand it correctly?</description>
      <pubDate>Fri, 03 Feb 2023 17:13:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11728042#M14086</guid>
      <dc:creator>adam_konca</dc:creator>
      <dc:date>2023-02-03T17:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11728160#M14087</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4174719"&gt;@adam_konca&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Does it mean that every time I am adding a library to my addin, I need to check if it is shipped with Revit first? And if it is, just add the same version to my addin with "Copy Local" set to false?&lt;BR /&gt;However, if it is not shipped with Revit then I can freely add my version with "Copy Local" true.&lt;BR /&gt;Do I understand it correctly?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Basically yes, and if you copy the reference to your addin folder, most of the time Revit gonna ignore it and use the version that is already loaded in the AppDomain or load a version shipped with Revit.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 18:01:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11728160#M14087</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2023-02-03T18:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11728801#M14088</link>
      <description>Good to know. Thanks!</description>
      <pubDate>Fri, 03 Feb 2023 22:52:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11728801#M14088</guid>
      <dc:creator>adam_konca</dc:creator>
      <dc:date>2023-02-03T22:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11732738#M14089</link>
      <description>&lt;P&gt;I totally agree with Luiz. Only one version can be loaded, because there is only one AppDomain for the Revit API. Revit has already loaded its version, so your attempt to load a different one will fail. So, you cannot use a newer version than the one used by Revit. In some (rare?) cases, Revit includes an add-in or other piece of functionality that doies not load all its dependencies up front; in that case, if you load your own ("wrong") version first, you might even end up breaking some of the built-in Revit functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 11:35:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11732738#M14089</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-02-06T11:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to include RevitAPI.dll and RevitAPIUI.dll in my release package?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11733712#M14090</link>
      <description>Makes perfect sense. Once again, appreciate the explanations. Thanks.</description>
      <pubDate>Mon, 06 Feb 2023 17:24:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/do-i-need-to-include-revitapi-dll-and-revitapiui-dll-in-my/m-p/11733712#M14090</guid>
      <dc:creator>adam_konca</dc:creator>
      <dc:date>2023-02-06T17:24:30Z</dc:date>
    </item>
  </channel>
</rss>

