<?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 file run in revit 2016 but not in 2015 in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6448889#M64122</link>
    <description>&lt;P&gt;Thanks for your answers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I don't understand is that this addin has been developped with references for revit 2015 as shown in the screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/256420i212B80B27BDFAFC3/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="ref.JPG" title="ref.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx for your help&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2016 08:37:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-20T08:37:17Z</dc:date>
    <item>
      <title>Addin file run in revit 2016 but not in 2015</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6446484#M64117</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created an IExternalCommand with a ClassLibrary (PTLGClassLibrary). The class I want to run is called ConfigurateurPTLGClass and use a windows form that is contained in my classlibrary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's my .addin file :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/256150i0050C9C6CBBD50CB/image-size/medium?v=v2&amp;amp;px=-1" border="0" alt="eeeee.JPG" title="eeeee.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run it in Revit 2016 it works perfectly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run in Revit 2015 I have the following error message :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Failed to initialize the add-in "myAddin" because the class "myProject.myClassLibrary" cannot be found in the add-in assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The FullClassName provides the entry point for Revit to call the dd-in, you must ensure this class implements the %addintype%."&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sabatierae&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 08:52:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6446484#M64117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-19T08:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Addin file run in revit 2016 but not in 2015</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6446499#M64118</link>
      <description>did u put your addin file in right foler?&lt;BR /&gt;&lt;BR /&gt;better change addin Id if you have different add ins at the same time</description>
      <pubDate>Tue, 19 Jul 2016 09:01:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6446499#M64118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-19T09:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Addin file run in revit 2016 but not in 2015</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6446512#M64119</link>
      <description>&lt;P&gt;Yes, I have placed my addin with my others addins in&amp;nbsp;C:\ProgramData\Autodesk\Revit\Addins\2015 and&amp;nbsp;I have already changed the AddInId&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 09:06:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6446512#M64119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-19T09:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Addin file run in revit 2016 but not in 2015</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6448445#M64120</link>
      <description>&lt;P&gt;This may be a cro magnon man response, and I apologize if it is, BUT just to make sure..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you know&amp;nbsp;that if you want to take an addin developed using the 2016 API&amp;nbsp;references, and use that code&amp;nbsp;for 2015, you will need to open the development project and&amp;nbsp;replace the 2016 references with the Revit 2015 library references?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To put it&amp;nbsp; simply, if the addin is for 2015, the references must be dlls from Revit 2015.&lt;/P&gt;&lt;P&gt;2016 for 2016, ad infinitum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The API changes between versions too, so you may have to massage your code a bit when switching versions. Although 2015 and 2016 are usually quite compatible barring fabrication elements. Once you swap out the references, hunt for red squigglies, sort them, and you should be alright.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, apologies if this was already known to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 04:23:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6448445#M64120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-20T04:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Addin file run in revit 2016 but not in 2015</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6448487#M64121</link>
      <description>&lt;P&gt;You may be able to run a Revit 2015 add-in in Revit 2016 without recompiling.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vice versa may not work, just as&amp;nbsp;cyanstudios points out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a sample demonstrating running a Revit 2012 add-in in Revit 2013, with some extra&amp;nbsp;bells and whistles:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2012/07/multi-version-add-in.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2012/07/multi-version-add-in.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many add-ins will continue running in one or two subsequent versions of Revit, if none of the API functionality that they make use of is changed under the hood.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can only tell by trying it out, though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The safest path is always to recompile for each new major release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is also the one and only recommended and officially supported way to go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 05:34:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6448487#M64121</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-07-20T05:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Addin file run in revit 2016 but not in 2015</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6448889#M64122</link>
      <description>&lt;P&gt;Thanks for your answers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I don't understand is that this addin has been developped with references for revit 2015 as shown in the screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/256420i212B80B27BDFAFC3/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="ref.JPG" title="ref.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx for your help&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 08:37:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/addin-file-run-in-revit-2016-but-not-in-2015/m-p/6448889#M64122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-20T08:37:17Z</dc:date>
    </item>
  </channel>
</rss>

