<?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 AutoCAD 2025 .NET Core,  Microsoft.Data.Sqlclient in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/12742750#M4187</link>
    <description>&lt;P&gt;Greetings,&lt;BR /&gt;This guide helped a lot ... THANK YOU ...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://info.quuxsoft.com/ftp/Migration_NET_Core%20English.pdf" target="_blank"&gt;https://info.quuxsoft.com/ftp/Migration_NET_Core%20English.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My upgraded DLL for ACAD 2025 almost works.&lt;/P&gt;&lt;P&gt;Using the NUGET Microsoft.Data.Sqlclient, I managed to connect with the SQL server and run a query from a Windows Forms Desktop development.&lt;/P&gt;&lt;P&gt;Why is the entire dependent package output to the Debug folder on building the exe?&lt;BR /&gt;and I noticed a DLL with the sma name as the EXE in the Debug folder - why?&lt;/P&gt;&lt;P&gt;The DLL for ACAD does not connect to the SQL Server.&lt;BR /&gt;(Same code as the Windows Forms Desktop) - except ... the library contents were not copied to the Debug folder on building the DLL.&lt;BR /&gt;Error ....&lt;BR /&gt;The type of initializer ..... TSDPARSER threw an exception. on trying to connect to the SQL Server.&lt;/P&gt;&lt;P&gt;Thx for your patience,&lt;/P&gt;&lt;P&gt;I missed something .. maybe many somethings....&lt;/P&gt;&lt;P&gt;K.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 06:54:33 GMT</pubDate>
    <dc:creator>kevin.bza</dc:creator>
    <dc:date>2024-04-30T06:54:33Z</dc:date>
    <item>
      <title>AutoCAD 2025 .NET Core,  Microsoft.Data.Sqlclient</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/12742750#M4187</link>
      <description>&lt;P&gt;Greetings,&lt;BR /&gt;This guide helped a lot ... THANK YOU ...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://info.quuxsoft.com/ftp/Migration_NET_Core%20English.pdf" target="_blank"&gt;https://info.quuxsoft.com/ftp/Migration_NET_Core%20English.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My upgraded DLL for ACAD 2025 almost works.&lt;/P&gt;&lt;P&gt;Using the NUGET Microsoft.Data.Sqlclient, I managed to connect with the SQL server and run a query from a Windows Forms Desktop development.&lt;/P&gt;&lt;P&gt;Why is the entire dependent package output to the Debug folder on building the exe?&lt;BR /&gt;and I noticed a DLL with the sma name as the EXE in the Debug folder - why?&lt;/P&gt;&lt;P&gt;The DLL for ACAD does not connect to the SQL Server.&lt;BR /&gt;(Same code as the Windows Forms Desktop) - except ... the library contents were not copied to the Debug folder on building the DLL.&lt;BR /&gt;Error ....&lt;BR /&gt;The type of initializer ..... TSDPARSER threw an exception. on trying to connect to the SQL Server.&lt;/P&gt;&lt;P&gt;Thx for your patience,&lt;/P&gt;&lt;P&gt;I missed something .. maybe many somethings....&lt;/P&gt;&lt;P&gt;K.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 06:54:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/12742750#M4187</guid>
      <dc:creator>kevin.bza</dc:creator>
      <dc:date>2024-04-30T06:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core,  Microsoft.Data.Sqlclient</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/12779538#M4188</link>
      <description>&lt;P&gt;Solved!&amp;nbsp; : )&lt;/P&gt;&lt;P&gt;In my case I just needed to include access to this file&amp;nbsp; .....&amp;nbsp;&amp;nbsp;Microsoft.Data.SqlClient.SNI.dll&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 05:28:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/12779538#M4188</guid>
      <dc:creator>kevin.bza</dc:creator>
      <dc:date>2024-05-17T05:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core,  Microsoft.Data.Sqlclient</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/12878912#M4189</link>
      <description>&lt;P&gt;Hi, I'm getting the same error, but with REVIT 2025, would you add more details to the solution?&lt;/P&gt;&lt;P&gt;I appreciate any help you can provide.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 18:22:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/12878912#M4189</guid>
      <dc:creator>jayala_com</dc:creator>
      <dc:date>2024-07-04T18:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core,  Microsoft.Data.Sqlclient</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/12878978#M4190</link>
      <description>&lt;P&gt;You need to edit the *.csproj file (right-click the project, then select "Edit project file") and add these 2 lines in the &amp;lt;PropertyGroup&amp;gt; section:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;PropertyGroup&amp;gt;
  ... 
  ...
  &amp;lt;RuntimeIdentifier&amp;gt;win-x64&amp;lt;/RuntimeIdentifier&amp;gt;
  &amp;lt;CopyLocalLockFileAssemblies&amp;gt;true&amp;lt;/CopyLocalLockFileAssemblies&amp;gt;
  ...
  ...
&amp;lt;/PropertyGroup&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;You can also use&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;EnableDynamicLoading&amp;gt;true&amp;lt;/EnableDynamicLoading&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;instead of &amp;lt;CopyLocalLockFileAssemblies&amp;gt;. You may want to search the net for the differences between the two. Basically, both of them would copy the dependency DLLs from the Microsoft.Data.SqlClient Nuget package (or any Nuget package, for that matter) into the plugin (AutoCAD, or Revit) DLL output folder, when you compile the code with Visual Studio.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 19:16:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/12878978#M4190</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2024-07-04T19:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core,  Microsoft.Data.Sqlclient</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/13173297#M4191</link>
      <description>&lt;P&gt;I was having this problem with a Revit addin targeting versions 2020-2025. All build configs targeting net48 worked great, but the Revit 2025 version was unable to find "Microsoft.Data.SqlClient.SNI.dll". Adding the single property &amp;lt;RuntimeIdentifier&amp;gt;win-x64&amp;lt;/RuntimeIdentifier&amp;gt; to my addin's .csproj file resolved the issue for me. Thank you&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt; for the suggestion!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 20:58:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-data-sqlclient/m-p/13173297#M4191</guid>
      <dc:creator>steve.ruff</dc:creator>
      <dc:date>2024-11-25T20:58:24Z</dc:date>
    </item>
  </channel>
</rss>

