<?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 How to customize the icon of a custom module in ArcGIS Pro SDK in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-customize-the-icon-of-a-custom-module-in/m-p/772148#M661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a customized ArcGIS Pro module and everything works fine but I also would like to create a customized icon for the module.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this resource but it does not work for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Content-and-Image-Resources#images-as-addincontent" title="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Content-and-Image-Resources#images-as-addincontent" rel="nofollow noopener noreferrer" target="_blank"&gt;ProGuide Content and Image Resources · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;using&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;System&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Windows&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Media&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Imaging&lt;/SPAN&gt;;
&lt;SPAN class="" style="color: #d73a49;"&gt;using&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;System&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Compression&lt;/SPAN&gt;; &lt;SPAN class="" style="color: #6a737d;"&gt;//Image is defined as AddinContent.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #6a737d;"&gt;//AddinContent is ESRI custom build action. Cannot use without Addin
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #6f42c1;"&gt;BitmapImage&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;forAddinContent&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;BitmapImage&lt;/SPAN&gt;();
&lt;SPAN class="" style="color: #d73a49;"&gt;string&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;id&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #032f62;"&gt;"{49545510-2f4a-4e9c-bc12-3ea79a330fa0}"&lt;/SPAN&gt;;&lt;SPAN class="" style="color: #6a737d;"&gt;//From your module
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;using&lt;/SPAN&gt; (&lt;SPAN class="" style="color: #6f42c1;"&gt;ZipArchive&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;zip&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;ZipFile&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;OpenRead&lt;/SPAN&gt;(
&amp;nbsp;&amp;nbsp;&amp;nbsp;@"&lt;SPAN class="" style="color: #6f42c1;"&gt;C&lt;/SPAN&gt;:\&lt;SPAN class="" style="color: #6f42c1;"&gt;Users&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;my_username&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;Documents&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;ArcGIS&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;AddIns&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;ArcGISPro&lt;/SPAN&gt;\" + &lt;SPAN class="" style="color: #6f42c1;"&gt;id&lt;/SPAN&gt; +       
&amp;nbsp;&amp;nbsp;&amp;nbsp;@"\&lt;SPAN class="" style="color: #6f42c1;"&gt;AddinContent&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;esriAddInX&lt;/SPAN&gt;")) { 	
&lt;SPAN class="" style="color: #6f42c1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ZipArchiveEntry&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;zipEntry&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;zip&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;GetEntry&lt;/SPAN&gt;("&lt;SPAN class="" style="color: #6f42c1;"&gt;Images&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;AddInDesktop32&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;png&lt;/SPAN&gt;"); 	
&lt;SPAN class="" style="color: #6f42c1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;MemoryStream&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;ms&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;MemoryStream&lt;/SPAN&gt;(); 	
&lt;SPAN class="" style="color: #d73a49;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;using&lt;/SPAN&gt; (&lt;SPAN class="" style="color: #6f42c1;"&gt;Stream&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;stmZip&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;zipEntry&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Open&lt;/SPAN&gt;())
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &lt;SPAN class="" style="color: #6f42c1;"&gt;stmZip&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;CopyTo&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #6f42c1;"&gt;ms&lt;/SPAN&gt;);} 	 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="" style="color: #24292e;"&gt;forAddinContent&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;BeginInit&lt;/SPAN&gt;(); 	
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="" style="color: #24292e;"&gt;forAddinContent&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;StreamSource&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;ms&lt;/SPAN&gt;; 	
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="" style="color: #24292e;"&gt;forAddinContent&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;EndInit&lt;/SPAN&gt;(); }&lt;/PRE&gt;&lt;P&gt;I get zipEntry = null error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there way to customize a module's icon?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:38:08 GMT</pubDate>
    <dc:creator>Amadeus111</dc:creator>
    <dc:date>2021-12-12T08:38:08Z</dc:date>
    <item>
      <title>How to customize the icon of a custom module in ArcGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-customize-the-icon-of-a-custom-module-in/m-p/772148#M661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a customized ArcGIS Pro module and everything works fine but I also would like to create a customized icon for the module.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this resource but it does not work for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Content-and-Image-Resources#images-as-addincontent" title="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Content-and-Image-Resources#images-as-addincontent" rel="nofollow noopener noreferrer" target="_blank"&gt;ProGuide Content and Image Resources · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;using&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;System&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Windows&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Media&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Imaging&lt;/SPAN&gt;;
&lt;SPAN class="" style="color: #d73a49;"&gt;using&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;System&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Compression&lt;/SPAN&gt;; &lt;SPAN class="" style="color: #6a737d;"&gt;//Image is defined as AddinContent.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #6a737d;"&gt;//AddinContent is ESRI custom build action. Cannot use without Addin
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #6f42c1;"&gt;BitmapImage&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;forAddinContent&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;BitmapImage&lt;/SPAN&gt;();
&lt;SPAN class="" style="color: #d73a49;"&gt;string&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;id&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #032f62;"&gt;"{49545510-2f4a-4e9c-bc12-3ea79a330fa0}"&lt;/SPAN&gt;;&lt;SPAN class="" style="color: #6a737d;"&gt;//From your module
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;using&lt;/SPAN&gt; (&lt;SPAN class="" style="color: #6f42c1;"&gt;ZipArchive&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;zip&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;ZipFile&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;OpenRead&lt;/SPAN&gt;(
&amp;nbsp;&amp;nbsp;&amp;nbsp;@"&lt;SPAN class="" style="color: #6f42c1;"&gt;C&lt;/SPAN&gt;:\&lt;SPAN class="" style="color: #6f42c1;"&gt;Users&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;my_username&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;Documents&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;ArcGIS&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;AddIns&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;ArcGISPro&lt;/SPAN&gt;\" + &lt;SPAN class="" style="color: #6f42c1;"&gt;id&lt;/SPAN&gt; +       
&amp;nbsp;&amp;nbsp;&amp;nbsp;@"\&lt;SPAN class="" style="color: #6f42c1;"&gt;AddinContent&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;esriAddInX&lt;/SPAN&gt;")) { 	
&lt;SPAN class="" style="color: #6f42c1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ZipArchiveEntry&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;zipEntry&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;zip&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;GetEntry&lt;/SPAN&gt;("&lt;SPAN class="" style="color: #6f42c1;"&gt;Images&lt;/SPAN&gt;\&lt;SPAN class="" style="color: #6f42c1;"&gt;AddInDesktop32&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;png&lt;/SPAN&gt;"); 	
&lt;SPAN class="" style="color: #6f42c1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;MemoryStream&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;ms&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;MemoryStream&lt;/SPAN&gt;(); 	
&lt;SPAN class="" style="color: #d73a49;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;using&lt;/SPAN&gt; (&lt;SPAN class="" style="color: #6f42c1;"&gt;Stream&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;stmZip&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;zipEntry&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Open&lt;/SPAN&gt;())
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &lt;SPAN class="" style="color: #6f42c1;"&gt;stmZip&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;CopyTo&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #6f42c1;"&gt;ms&lt;/SPAN&gt;);} 	 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="" style="color: #24292e;"&gt;forAddinContent&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;BeginInit&lt;/SPAN&gt;(); 	
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="" style="color: #24292e;"&gt;forAddinContent&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;StreamSource&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;ms&lt;/SPAN&gt;; 	
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="" style="color: #24292e;"&gt;forAddinContent&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;EndInit&lt;/SPAN&gt;(); }&lt;/PRE&gt;&lt;P&gt;I get zipEntry = null error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there way to customize a module's icon?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:38:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-customize-the-icon-of-a-custom-module-in/m-p/772148#M661</guid>
      <dc:creator>Amadeus111</dc:creator>
      <dc:date>2021-12-12T08:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize icon of a custom module in ArcGIS Pro SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-customize-the-icon-of-a-custom-module-in/m-p/772149#M662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was easier than I thought. I just needed to read the document more carefully. When I set the build action to "AddinContent"&amp;nbsp; for the image and use the relative path for the image in Config.daml problem solved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is more info about build actions&amp;nbsp;&lt;A class="link-titled" href="https://docs.microsoft.com/en-us/visualstudio/ide/build-actions?view=vs-2019" title="https://docs.microsoft.com/en-us/visualstudio/ide/build-actions?view=vs-2019"&gt;Build actions for files - Visual Studio | Microsoft Docs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/491692_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 13:47:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-customize-the-icon-of-a-custom-module-in/m-p/772149#M662</guid>
      <dc:creator>Amadeus111</dc:creator>
      <dc:date>2020-05-11T13:47:45Z</dc:date>
    </item>
  </channel>
</rss>

