<?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: Upgrading Plugin to .Net 8.0 in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12947161#M3033</link>
    <description>&lt;P&gt;See my (misdirected) reply to&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt;. I haven't needed to use the SupportedOSPlatform attribute in my project, but I did disable the analyzers that warn about platform-dependent code.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 14:58:32 GMT</pubDate>
    <dc:creator>ActivistInvestor</dc:creator>
    <dc:date>2024-08-08T14:58:32Z</dc:date>
    <item>
      <title>Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12946452#M3028</link>
      <description>&lt;P&gt;Hi All&lt;BR /&gt;&lt;BR /&gt;I have Followed a guide i found here to Upgrade my Plugin to Autocad 2025. I am having issues with Winforms.&lt;BR /&gt;Normally when starting a project (.class Library) you can add winforms to it. After Upgrading My Project and Even by Starting a New Project i dont see the Option to add Winforms anymore? am i missing something here?&lt;BR /&gt;&lt;BR /&gt;another question is do i have to upgrade to .Net 8.0?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 09:07:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12946452#M3028</guid>
      <dc:creator>My_Civil_3D</dc:creator>
      <dc:date>2024-08-08T09:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12946542#M3029</link>
      <description>&lt;P&gt;The first "PropertyGroup" element of your project SDK have to contain this element:&lt;/P&gt;
&lt;PRE class="lia-code-sample line-numbers language-markup" tabindex="0"&gt;&lt;CODE&gt;&amp;lt;UseWindowsForms&amp;gt;true&amp;lt;/UseWindowsForms&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So that your classes can use System.Windows.Forms and the classes should be decored with the SupportedOSPlatform attribute:&lt;/P&gt;
&lt;PRE class="lia-code-sample line-numbers language-csharp" tabindex="0"&gt;&lt;CODE&gt;[SupportedOSPlatform("windows")]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 09:59:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12946542#M3029</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2024-08-08T09:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12946602#M3030</link>
      <description>&lt;P&gt;I Have Added your Line and i Now Get this Error:&lt;BR /&gt;&lt;BR /&gt;i am unsure of how to do this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;[SupportedOSPlatform("windows")]&lt;/PRE&gt;&lt;P&gt;&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="My_Civil_3D_0-1723113116789.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1395778i2CF030FBF63D1AFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="My_Civil_3D_0-1723113116789.png" alt="My_Civil_3D_0-1723113116789.png" /&gt;&lt;/span&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 10:34:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12946602#M3030</guid>
      <dc:creator>My_Civil_3D</dc:creator>
      <dc:date>2024-08-08T10:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12946693#M3031</link>
      <description>&lt;P&gt;Did you add:&lt;/P&gt;
&lt;PRE class="lia-code-sample line-numbers language-markup" tabindex="0"&gt;&lt;CODE&gt;&amp;lt;UseWindowsForms&amp;gt;true&amp;lt;/UseWindowsForms&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to the first PropertyGroup element of your project SDK? (double click on the project in the Solution Explorer to open it).&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 11:19:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12946693#M3031</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2024-08-08T11:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12947148#M3032</link>
      <description>&lt;P&gt;I upgraded a WinForms project recently, and here is what I did to include WinForms support, in addition to adding the required assemblies:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt; &amp;lt;PropertyGroup&amp;gt;
   &amp;lt;TargetFramework&amp;gt;net8.0-windows&amp;lt;/TargetFramework&amp;gt;
   &amp;lt;ImplicitUsings&amp;gt;disable&amp;lt;/ImplicitUsings&amp;gt;
   &amp;lt;Nullable&amp;gt;disable&amp;lt;/Nullable&amp;gt;
   &amp;lt;UseWindowsForms&amp;gt;true&amp;lt;/UseWindowsForms&amp;gt;
 &amp;lt;/PropertyGroup&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't used the SupportedOSPlatform attribute anywhere in the project.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 14:56:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12947148#M3032</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-08-08T14:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12947161#M3033</link>
      <description>&lt;P&gt;See my (misdirected) reply to&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt;. I haven't needed to use the SupportedOSPlatform attribute in my project, but I did disable the analyzers that warn about platform-dependent code.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 14:58:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12947161#M3033</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-08-08T14:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12955148#M3034</link>
      <description>&lt;P&gt;i manged to get it to work by manually adidng :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&amp;lt;UseWindowsForms&amp;gt;true&amp;lt;/UseWindowsForms&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another issue i am facing is with Mysql. i am getting an error saying that its not supported on this platform. first i had to change to Microsoft.dta.SqlClient but when i build my plugin the&amp;nbsp;Microsoft.dta.SqlClient .dll isnt buidlign with the rest of the plugin files. Where previously before the upgrade to dotnet 8.0 i had no issues. am i missing something here?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 05:38:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12955148#M3034</guid>
      <dc:creator>My_Civil_3D</dc:creator>
      <dc:date>2024-08-13T05:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12955251#M3035</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13503176"&gt;@My_Civil_3D&lt;/a&gt;&amp;nbsp; a écrit&amp;nbsp;:&lt;BR /&gt;
&lt;P&gt;i manged to get it to work by manually adidng :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&amp;lt;UseWindowsForms&amp;gt;true&amp;lt;/UseWindowsForms&amp;gt;"&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is what &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt; and I have been advocating since the start of this discussion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13503176"&gt;@My_Civil_3D&lt;/a&gt;&amp;nbsp; a écrit&amp;nbsp;:&lt;BR /&gt;
&lt;P&gt;another issue i am facing is with Mysql. i am getting an error saying that its not supported on this platform. first i had to change to Microsoft.dta.SqlClient but when i build my plugin the&amp;nbsp;Microsoft.dta.SqlClient .dll isnt buidlign with the rest of the plugin files. Where previously before the upgrade to dotnet 8.0 i had no issues. am i missing something here?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can see &lt;A href="https://adndevblog.typepad.com/autocad/2024/05/connecting-to-sql-server-from-autocad-2025.html" target="_blank" rel="noopener"&gt;this topic&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 06:49:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12955251#M3035</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2024-08-13T06:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12956242#M3036</link>
      <description>&lt;P&gt;Seems Like there is Still an Issue, i can see the Winforms under the Add window but when clicking on it, it doesnt add a new form&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 15:31:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12956242#M3036</guid>
      <dc:creator>My_Civil_3D</dc:creator>
      <dc:date>2024-08-13T15:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12956248#M3037</link>
      <description>&lt;P&gt;at this point i want to pull out my hair. why cant there just be a .Net 8.0 Template when you create a new project why do you have to always upgrade the project first? i only see .net 4.8 on my target projects i always have to upgrade the project why is that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 15:35:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12956248#M3037</guid>
      <dc:creator>My_Civil_3D</dc:creator>
      <dc:date>2024-08-13T15:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12956332#M3038</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can find an AutoCAD Project Template for AutoCAD 2025 (AutoCAD R25 Csharp Project Template) on &lt;A href="https://github.com/gileCAD/AutoCAD-Csharp-Project-Template" target="_blank" rel="noopener"&gt;this page&lt;/A&gt;. You'll have to edit the template files as explained in the "README" and, to reference Windows Forms, add: &amp;lt;UseWindowsForms&amp;gt;true&amp;lt;/UseWindowsForms&amp;gt; to the first PropertyGroup node of the .csproj file.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 16:16:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12956332#M3038</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2024-08-13T16:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading Plugin to .Net 8.0</title>
      <link>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12958010#M3039</link>
      <description>thank you sir</description>
      <pubDate>Wed, 14 Aug 2024 11:58:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/upgrading-plugin-to-net-8-0/m-p/12958010#M3039</guid>
      <dc:creator>My_Civil_3D</dc:creator>
      <dc:date>2024-08-14T11:58:30Z</dc:date>
    </item>
  </channel>
</rss>

