<?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: How to make an application plugin which can work with AutoCAD 2025 &amp;amp; lower versions? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-make-an-application-plugin-which-can-work-with-autocad/m-p/12997177#M2742</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that some plugin DLLs built with .NET Framework 4.8 and AutoCAD 2024 (or earlier) libraries work as is with AutoCAD 2025. But as far as I know, a DLL built with .NET 8.0 and AutoCAD 2025 libraries cannot work with earlier version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, I prefered &lt;A href="https://forums.autodesk.com/t5/net/migration-guide-net-framework-to-autocad-2025-net-8-0/m-p/12676274#M81355" target="_blank" rel="noopener"&gt;migrate&lt;/A&gt; all my plugins (i.e. built new projects targeting .NET 8.0).&lt;/P&gt;
&lt;P&gt;You can have both projects (.NET Framework and .NET 8.0) in the same solution. You can also share the same code between both projects by linking the .cs files but this way you be stack to .NET Framework and C# 7.0 features.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to be able to use new features from .NET 8.0 and C# 12.0 in the AutoCAD 2025 project, you'll have to maintain two separated codes, this is the way I choose. To deploy such plugin, the use of the Autoloader mechanism with a .bundle folder makes things easier: simply specify in the PackageContents.xml file which DLL is loaded according to the AutoCAD version (you can see an example of this achitecture with the &lt;A href="https://github.com/gileCAD/Gile.Inspector" target="_blank" rel="noopener"&gt;Inspector plugin&lt;/A&gt;).&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2024 08:17:46 GMT</pubDate>
    <dc:creator>_gile</dc:creator>
    <dc:date>2024-09-03T08:17:46Z</dc:date>
    <item>
      <title>How to make an application plugin which can work with AutoCAD 2025 &amp; lower versions?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-an-application-plugin-which-can-work-with-autocad/m-p/12996869#M2741</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you read the title. Is it possible to make an application plugin which works with all versions? I have made a plugin which loads in 2025 but didn't load in 2024. Any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 05:12:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-an-application-plugin-which-can-work-with-autocad/m-p/12996869#M2741</guid>
      <dc:creator>luckyboy82292</dc:creator>
      <dc:date>2024-09-03T05:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an application plugin which can work with AutoCAD 2025 &amp; lower versions?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-an-application-plugin-which-can-work-with-autocad/m-p/12997177#M2742</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that some plugin DLLs built with .NET Framework 4.8 and AutoCAD 2024 (or earlier) libraries work as is with AutoCAD 2025. But as far as I know, a DLL built with .NET 8.0 and AutoCAD 2025 libraries cannot work with earlier version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, I prefered &lt;A href="https://forums.autodesk.com/t5/net/migration-guide-net-framework-to-autocad-2025-net-8-0/m-p/12676274#M81355" target="_blank" rel="noopener"&gt;migrate&lt;/A&gt; all my plugins (i.e. built new projects targeting .NET 8.0).&lt;/P&gt;
&lt;P&gt;You can have both projects (.NET Framework and .NET 8.0) in the same solution. You can also share the same code between both projects by linking the .cs files but this way you be stack to .NET Framework and C# 7.0 features.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to be able to use new features from .NET 8.0 and C# 12.0 in the AutoCAD 2025 project, you'll have to maintain two separated codes, this is the way I choose. To deploy such plugin, the use of the Autoloader mechanism with a .bundle folder makes things easier: simply specify in the PackageContents.xml file which DLL is loaded according to the AutoCAD version (you can see an example of this achitecture with the &lt;A href="https://github.com/gileCAD/Gile.Inspector" target="_blank" rel="noopener"&gt;Inspector plugin&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 08:17:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-an-application-plugin-which-can-work-with-autocad/m-p/12997177#M2742</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2024-09-03T08:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an application plugin which can work with AutoCAD 2025 &amp; lower versions?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-an-application-plugin-which-can-work-with-autocad/m-p/13002035#M2743</link>
      <description>&lt;P&gt;Thank you for your response. So, I should use the UPGRADE option and create another copy of the application to ensure compatibility with both CAD versions.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 07:26:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-an-application-plugin-which-can-work-with-autocad/m-p/13002035#M2743</guid>
      <dc:creator>luckyboy82292</dc:creator>
      <dc:date>2024-09-05T07:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an application plugin which can work with AutoCAD 2025 &amp; lower versions?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-an-application-plugin-which-can-work-with-autocad/m-p/13002237#M2744</link>
      <description>&lt;P&gt;Sorry if my explaination was not clear (English is not my native language).&lt;/P&gt;
&lt;P&gt;I'll try a step by step explaination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming you have a plugin which works as you expect with AutoCAD 2024 or earlier. Try to NETLOAD this DLL into AutoCAD 2025 and deeply test your plugin. If it works as expected, you're done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not, you have create a new plugin for AutoCAD 2025 (and later) targeting .NET 8.0 and AutoCAD 2025 libraries. This can be done:&lt;/P&gt;
&lt;P&gt;- either by upgrading the .NET Framework project using the migration assistant (as shown &lt;A href="https://forums.autodesk.com/t5/net/migration-guide-net-framework-to-autocad-2025-net-8-0/m-p/12676274#M81355" target="_blank" rel="noopener"&gt;here&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;- or by creating a brand new project in the same solution starting from a class library (.NET or .NET Standard template) and adding the code files from the .NET Framework project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In both cases, you can:&lt;/P&gt;
&lt;P&gt;- either try to share the same code in both projects (either choosing "side-by-side incremental project upgrade" or "Add as link" the source code files)&lt;/P&gt;
&lt;P&gt;- or have different codes in each project (either choosing "side-by-side project upgrade" or simply "Add" the source code files).&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 09:47:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-an-application-plugin-which-can-work-with-autocad/m-p/13002237#M2744</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2024-09-05T09:47:27Z</dc:date>
    </item>
  </channel>
</rss>

