<?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 Module error: System.Data.SqlClient is not supported on this platform in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191409#M8378</link>
    <description>&lt;P&gt;I did a quick google of "system.data.sqlclient .net 6". This seemed (to me at least) to be one of the more promising links:&lt;/P&gt;&lt;P&gt;&lt;A href="https://makolyte.com/system-data-sqlclient-is-missing-in-a-dotnet-core-project/" target="_blank"&gt;https://makolyte.com/system-data-sqlclient-is-missing-in-a-dotnet-core-project/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It recommends including the &lt;SPAN&gt;System.Data.SqlClient nuget package. That's where I would start.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 00:57:36 GMT</pubDate>
    <dc:creator>CharlesMacleod</dc:creator>
    <dc:date>2022-07-12T00:57:36Z</dc:date>
    <item>
      <title>Addin Module error: System.Data.SqlClient is not supported on this platform</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191389#M8376</link>
      <description>&lt;P&gt;I'm using ArcGIS Pro SDK version 3.0 in Visual Studio 2022. I've loaded the System.Data.Client Package version 4.8.3 from NuGet Package Manager into my ArcGIS Pro Module Add-in project. The issue I'm having is that I'm getting an error: 'System.Data.SqlClient is not supported on this platform' when I try to use a System.Data.SqlClient.SqlConnection object.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;static string sConn = "workstation id=GIS6;packet size=4096;user id=xxx;password=xxxx;data&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; source=XXXXX;persist security info=False;initial catalog=XXX";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;SqlConnection Conn = new SqlConnection(sConn);&lt;/P&gt;&lt;P&gt;This code works without error if I run it in a Visual Studio 2022 Windows Forms project with the same identical System.Data.Client Package version 4.8.3 loaded.&amp;nbsp; Any ideas of how I might fix this error?&lt;/P&gt;&lt;P&gt;There's a similar issue described here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/add-in-fails-with-quot-the-specified-module-could/td-p/1081140" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/add-in-fails-with-quot-the-specified-module-could/td-p/1081140&lt;/A&gt;&amp;nbsp;but in this issue ArcGIS Pro 2.8 sdk and Visual Studio 2022 is used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The connection string code was working fine for me at ArcGIS Pro sdk 2.9 Visual Studio 2017&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 23:02:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191389#M8376</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2022-07-11T23:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Addin Module error: System.Data.SqlClient is not supported on this platform</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191400#M8377</link>
      <description>&lt;P&gt;Use Microsoft.Data.SqlClient. There are a lot of little tweaks with .net 6.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 00:02:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191400#M8377</guid>
      <dc:creator>MichaelSnook</dc:creator>
      <dc:date>2022-07-12T00:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Addin Module error: System.Data.SqlClient is not supported on this platform</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191409#M8378</link>
      <description>&lt;P&gt;I did a quick google of "system.data.sqlclient .net 6". This seemed (to me at least) to be one of the more promising links:&lt;/P&gt;&lt;P&gt;&lt;A href="https://makolyte.com/system-data-sqlclient-is-missing-in-a-dotnet-core-project/" target="_blank"&gt;https://makolyte.com/system-data-sqlclient-is-missing-in-a-dotnet-core-project/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It recommends including the &lt;SPAN&gt;System.Data.SqlClient nuget package. That's where I would start.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 00:57:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191409#M8378</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2022-07-12T00:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Addin Module error: System.Data.SqlClient is not supported on this platform</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191530#M8383</link>
      <description>&lt;P&gt;there was a reply suggesting to use&amp;nbsp;Microsoft.Data.SqlClient instead of System.Data.SqlClient.&amp;nbsp; That reply seems to have been removed from the thread somehow, but the suggestion worked!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 13:33:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191530#M8383</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2022-07-12T13:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Addin Module error: System.Data.SqlClient is not supported on this platform</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191532#M8384</link>
      <description>I'm not sure why my reply was deleted. This was the original resource I discovered (and referenced):&lt;BR /&gt;&lt;A href="https://makolyte.com/system-data-sqlclient-is-missing-in-a-dotnet-core-project/" target="_blank"&gt;https://makolyte.com/system-data-sqlclient-is-missing-in-a-dotnet-core-project/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jul 2022 13:42:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191532#M8384</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2022-07-12T13:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Addin Module error: System.Data.SqlClient is not supported on this platform</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191620#M8389</link>
      <description>&lt;P&gt;You can also look at this example (from community samples) which is using the&amp;nbsp;Microsoft.Data.SqlClient NuGet in its plug-in project:&amp;nbsp; &amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Plugin/ProSqlExpressReader" target="_self"&gt;ProSqlExpressReader solution&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I recommend searching the community samples GitHub repository for the specific class that you want to use, in this case I searched for "SqlConnection" and you will get a hit if samples are using that class.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 16:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1191620#M8389</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2022-07-12T16:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Addin Module error: System.Data.SqlClient is not supported on this platform</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1258648#M9421</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am running into this same problem in a project that I am converting from Pro 2.x to Pro 3.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;I originally added the NuGet package for Microsoft.Data.SqlClient, but that didn't help at all, and once I added the NuGet fro System.Data.SqlClient that at least removed all the Build errors and I could run the code in debug mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But....once I get to the following line of code, I get the "not supported on this platform" error.&amp;nbsp; Any ideas??&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrianBulla_0-1676491078180.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62958i93A77C11DB7A82D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrianBulla_0-1676491078180.png" alt="BrianBulla_0-1676491078180.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 19:58:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1258648#M9421</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2023-02-15T19:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Addin Module error: System.Data.SqlClient is not supported on this platform</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1259111#M9425</link>
      <description>&lt;P&gt;OK, this seems to be working now using the Microsoft.Data.SqlClient NuGet.&amp;nbsp; Not sure why it's working today but not yesterday.&amp;nbsp; I've installed/uninstalled several times and now it's working??&lt;/P&gt;&lt;P&gt;Dunno....but it's working with no code changes.....just the NuGet and a new "using" statement.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 21:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/addin-module-error-system-data-sqlclient-is-not/m-p/1259111#M9425</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2023-02-16T21:06:45Z</dc:date>
    </item>
  </channel>
</rss>

