<?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 Cannot add new maptool control in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-add-new-maptool-control/m-p/698941#M1</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're unable to add a maptool control to our Add-In project. We have the latest version of Pro and the SDK installed (we uninstalled beta version properly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our visual studio project we goto &lt;STRONG&gt;Add &amp;gt; New Item &amp;gt; ArcGIS &amp;gt; ArcGIS Pro Map Tool&lt;/STRONG&gt; and this creates the class for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the MapTool class cannot be found in &lt;STRONG&gt;ArcGIS.Desktop.Mapping&lt;/STRONG&gt; namespace:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="187644" alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/187644_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cannot resolve symbol 'MapTool'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The dll reference is correctly inlcuded in project, and imported with &lt;STRONG&gt;using&lt;/STRONG&gt; statement as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the assembly explorer and look&amp;nbsp; in ArcGIS.Desktop.Mapping, there is no MapTool class. But it is listed in the API page here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/sdk/api-reference/topic9155.html" title="http://pro.arcgis.com/en/pro-app/sdk/api-reference/topic9155.html"&gt;http://pro.arcgis.com/en/pro-app/sdk/api-reference/topic9155.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's going on here? We have tried to reinstall ArcGIS Pro and the SDK, but did not fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other control types (e.g. button, dockpane) work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;p.s. I tried adding a maptool to a NEW arcgis pro module project and it worked. So I guess there is an issue with our current project. Any ideas?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 14:01:39 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2016-02-25T14:01:39Z</dc:date>
    <item>
      <title>Cannot add new maptool control</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-add-new-maptool-control/m-p/698941#M1</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're unable to add a maptool control to our Add-In project. We have the latest version of Pro and the SDK installed (we uninstalled beta version properly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our visual studio project we goto &lt;STRONG&gt;Add &amp;gt; New Item &amp;gt; ArcGIS &amp;gt; ArcGIS Pro Map Tool&lt;/STRONG&gt; and this creates the class for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the MapTool class cannot be found in &lt;STRONG&gt;ArcGIS.Desktop.Mapping&lt;/STRONG&gt; namespace:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="187644" alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/187644_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cannot resolve symbol 'MapTool'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The dll reference is correctly inlcuded in project, and imported with &lt;STRONG&gt;using&lt;/STRONG&gt; statement as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the assembly explorer and look&amp;nbsp; in ArcGIS.Desktop.Mapping, there is no MapTool class. But it is listed in the API page here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/sdk/api-reference/topic9155.html" title="http://pro.arcgis.com/en/pro-app/sdk/api-reference/topic9155.html"&gt;http://pro.arcgis.com/en/pro-app/sdk/api-reference/topic9155.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's going on here? We have tried to reinstall ArcGIS Pro and the SDK, but did not fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other control types (e.g. button, dockpane) work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;p.s. I tried adding a maptool to a NEW arcgis pro module project and it worked. So I guess there is an issue with our current project. Any ideas?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 14:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-add-new-maptool-control/m-p/698941#M1</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-02-25T14:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add new maptool control</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-add-new-maptool-control/m-p/698942#M2</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok nevermind - I fixed it. I was missing &lt;STRONG&gt;ArcGIS.Desktop.Extensions&lt;/STRONG&gt; reference from the project. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 14:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-add-new-maptool-control/m-p/698942#M2</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-02-25T14:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add new maptool control</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-add-new-maptool-control/m-p/698943#M3</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke, you might find these links helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration"&gt;Map Exploration Samples&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Map-Exploration#maptool"&gt;MapTool concepts&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 16:59:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-add-new-maptool-control/m-p/698943#M3</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2016-02-25T16:59:10Z</dc:date>
    </item>
  </channel>
</rss>

