<?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: ArcGIS Pro SDK for .Net loading dlls and app.config settings in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871573#M5227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for following up. I actually used a workaround by piping the data to a child process totally independent of the ArcGIS Pro module! Obviously not an ideal solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That link does look very hopeful and much cleaner, I will try it out and let you know.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2020 10:37:28 GMT</pubDate>
    <dc:creator>CARNELL_DEVTWO</dc:creator>
    <dc:date>2020-07-31T10:37:28Z</dc:date>
    <item>
      <title>ArcGIS Pro SDK for .Net loading dlls and app.config settings</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871569#M5223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use some third party dlls (Entity Framework and EntityFramework.SqlServer) in my arcgis Pro sdk module. However, whenever my code runs inside ArcMap pro, I get errors like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlServerCe.4.0'. Make sure the provider is registered in the 'entityFramework' section of the application config file.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have several stand alone apps with exactly the same app.config file "entityFramework" section which all work fine:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;entityFramework&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;providers&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EntityFramework.SqlServer" /&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;provider invariantName="System.Data.SqlServerCe.4.0" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;type="System.Data.Entity.SqlServerCompact.SqlCeProviderServices, EntityFramework.SqlServerCompact" /&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/providers&amp;gt;&lt;BR /&gt; &amp;lt;defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlCeConnectionFactory, EntityFramework"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;parameters&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;parameter value="System.Data.SqlServerCe.4.0" /&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/parameters&amp;gt;&lt;BR /&gt; &amp;lt;/defaultConnectionFactory&amp;gt;&lt;BR /&gt;&amp;lt;/entityFramework&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;During debug, I can see that the modules have loaded. In my program output I get messages like this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;C:\Users&amp;lt;username&amp;gt;\AppData\Local\ESRI\ArcGISPro\AssemblyCache{05b82a89-759c-4123-b178-75b72b968646}\EntityFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;'ArcGISPro.exe' (CLR v4.0.30319: ArcGISPro.exe): Loaded 'C:\Users&amp;lt;username&amp;gt;\AppData\Local\ESRI\ArcGISPro\AssemblyCache{05b82a89-759c-4123-b178-75b72b968646}\EntityFramework.SqlServer.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;'ArcGISPro.exe' (CLR v4.0.30319: ArcGISPro.exe): Loaded 'Anonymously Hosted DynamicMethods Assembly'.&lt;/P&gt;&lt;P&gt;Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Data.SqlServerCe\4.0.0.0__89845dcd8080cc91\System.Data.SqlServerCe.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I wonder if anyone else has had a similar problem, if there is some reference or app.config setting I am missing. Or if ArcGIS pro sdk for .Net doesn't read the app.config?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2020 15:54:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871569#M5223</guid>
      <dc:creator>CARNELL_DEVTWO</dc:creator>
      <dc:date>2020-07-08T15:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro SDK for .Net loading dlls and app.config settings</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871570#M5224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One important thing that I've learned with .Net Add-In development is that the SDK builds a &amp;lt;NameOfYourAddIn&amp;gt;.esriAddInX archive in your My Documents/ArcGIS/AddIns/ArcGISPro/{GUID_FOR_YOUR_ADDIN} folder.&amp;nbsp; This is a compressed file and if you extract it's contents with 7Zip you'll see everything the SDK deemed necessary for your AddIn.&amp;nbsp; With respect to assemblies, those will all be in the "Install" folder.&amp;nbsp; When ArcGIS Pro launches part of it's startup process is to check for Addins in the My Documents/ArcGIS/AddIns/ArcGISPro folder.&amp;nbsp; For each one it finds, with respect to AddIns, it take everything that's in the "Installs" folder and copies it to the user's App Data/Local/ESRI/ArcGISPro/AssemblyCache.&amp;nbsp; So based on your warnings this seems to all be correct.&amp;nbsp; &amp;nbsp;If you had Native DLL's (i.e. C++ DLLs) dependencies, you are on your own (as I am) but that is not your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is more extensive explanation of the same process....&lt;A class="link-titled" href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Advanced-Topics#loading-3rd-party-assembly-references" title="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Advanced-Topics#loading-3rd-party-assembly-references"&gt;ProConcepts Advanced Topics · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But again I don't think that is your problem based on the warnings... BTW those warnings are just saying you won't be able to debug into those System assemblies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found this on Stack Overflow..... I'm thinking this is your problem....&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/18455747/no-entity-framework-provider-found-for-the-ado-net-provider-with-invariant-name" title="https://stackoverflow.com/questions/18455747/no-entity-framework-provider-found-for-the-ado-net-provider-with-invariant-name"&gt;No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient' - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 13:25:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871570#M5224</guid>
      <dc:creator>DHuantes</dc:creator>
      <dc:date>2020-07-09T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro SDK for .Net loading dlls and app.config settings</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871571#M5225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been poking around in these folders a bit myself. The DLLs that I need all seem to be in the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;App Data/Local/ESRI/ArcGISPro/AssemblyCache folder.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I really can't figure out why some packages work just fine but others don't. The only difference I can think of is that the one that doesn't work is dependent on info in the&amp;nbsp;&lt;SPAN&gt;app.config file, but I don't see why that would be the problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;With regards to that stack overflow thread, I have added these references&amp;nbsp;in both projects in the solution.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/499680_geonetQuestion.PNG" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/499681_refs.PNG" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 13:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871571#M5225</guid>
      <dc:creator>CARNELL_DEVTWO</dc:creator>
      <dc:date>2020-07-09T13:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro SDK for .Net loading dlls and app.config settings</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871572#M5226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get it working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking for an old question I posted and saw this again....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Figured I'd try another search.... If you have not resolved your issue maybe this thread will help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/211561"&gt;Use an app.config file with an ArcGIS Pro Add-In&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 11:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871572#M5226</guid>
      <dc:creator>DHuantes</dc:creator>
      <dc:date>2020-07-29T11:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro SDK for .Net loading dlls and app.config settings</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871573#M5227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for following up. I actually used a workaround by piping the data to a child process totally independent of the ArcGIS Pro module! Obviously not an ideal solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That link does look very hopeful and much cleaner, I will try it out and let you know.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 10:37:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/871573#M5227</guid>
      <dc:creator>CARNELL_DEVTWO</dc:creator>
      <dc:date>2020-07-31T10:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro SDK for .Net loading dlls and app.config settings</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/1239418#M9158</link>
      <description>&lt;P&gt;app.config is still an issue.&lt;/P&gt;&lt;P&gt;I have created the &amp;nbsp;wpf .net 6 application with 3rd party dll's and these dlls read connection string information from the app.config file. This project works just fine if I reference this project in the different, NET 6 WPF project everything works fine. But if we reference it to ArcGIS Pro visual studio project Templates, AddIn can't recognize the connection string information from app.config file.&lt;/P&gt;&lt;P&gt;I tried copying app.config file into ArcGIS Pro bin file still not picked up by the AddIn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 21:22:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-for-net-loading-dlls-and-app-config/m-p/1239418#M9158</guid>
      <dc:creator>usravank1898</dc:creator>
      <dc:date>2022-12-08T21:22:11Z</dc:date>
    </item>
  </channel>
</rss>

