<?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 Add-in cache directory in ArcGIS Explorer Desktop Questions</title>
    <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/add-in-cache-directory/m-p/719987#M4480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Utilizing C# is it possible to access the cache directory from code. i.e. I wish to deploy a data file with the eaz and be able to retrieve it during runtime, therefore I need to get the path. (I would prefer not to build the data file as a resource).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Oct 2010 19:03:18 GMT</pubDate>
    <dc:creator>DarinKwasniewski</dc:creator>
    <dc:date>2010-10-15T19:03:18Z</dc:date>
    <item>
      <title>Add-in cache directory</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/add-in-cache-directory/m-p/719987#M4480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Utilizing C# is it possible to access the cache directory from code. i.e. I wish to deploy a data file with the eaz and be able to retrieve it during runtime, therefore I need to get the path. (I would prefer not to build the data file as a resource).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 19:03:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/add-in-cache-directory/m-p/719987#M4480</guid>
      <dc:creator>DarinKwasniewski</dc:creator>
      <dc:date>2010-10-15T19:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add-in cache directory</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/add-in-cache-directory/m-p/719988#M4481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There was a blog post on bundling files with Add-ins - which uses the 'Content' build action: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2009/09/17/tip-for-add-in-developers-how-to-bundle-files-in-an-eaz-file.aspx"&gt;http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2009/09/17/tip-for-add-in-developers-how-to-bundle-files-in-an-eaz-file.aspx&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the cache folder is within the Add-ins folder under the user profile - e.g. C:\Users\mbranscomb\AppData\Roaming\ESRI\arcgis explorer\Addins\Cache. Therefore you can get to this location in .NET:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;string path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Returns:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"C:\\Users\\mbranscomb\\AppData\\Roaming" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 08:21:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/add-in-cache-directory/m-p/719988#M4481</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2010-10-19T08:21:51Z</dc:date>
    </item>
  </channel>
</rss>

