<?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: &amp;quot;Value does not fall within expected range.&amp;quot; in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/quot-value-does-not-fall-within-expected-range/m-p/828164#M3178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was not able to duplicate your scenario.&amp;nbsp; Just to recap, you have an existing add-in project (c#) and you try to add a new add-in template item to your existing project.&amp;nbsp; At the point right after you "drill down" to the "ArcGIS Pro Add-ins" item templates selection list you get an error pop-up?&amp;nbsp; I tried this exact scenario and didn't get the error message.&amp;nbsp; Just to make sure that the setup worked properly can you please try the following and then retest: &amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open a "Developer Command Prompt for VS2015" command running as Administrator (under applications, Visual Studio 2015 folder)&lt;/LI&gt;&lt;LI&gt;Close all instances of Visual Studio&lt;/LI&gt;&lt;LI&gt;In the command prompt run this command:&amp;nbsp;devenv /setup&lt;/LI&gt;&lt;LI&gt;Note: if you get the error "The operation could not be completed. The requested operation requires elevation." you have to open the VS 2015 command prompt by 'running it as Administrator'.&lt;/LI&gt;&lt;LI&gt;After the /setup command completes try your scenario once more.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Aug 2017 23:30:59 GMT</pubDate>
    <dc:creator>Wolf</dc:creator>
    <dc:date>2017-08-02T23:30:59Z</dc:date>
    <item>
      <title>"Value does not fall within expected range."</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/quot-value-does-not-fall-within-expected-range/m-p/828163#M3177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When right clicking a project in Visual Studio 2015 and selecting Add &amp;gt; New item &amp;gt; ArcGIS Pro Add-ins, an error message stating "Value does not fall within expected range." is displayed. Visual Studio then presents the&lt;/P&gt;&lt;P&gt;Add New Item dialog box again.&amp;nbsp; After clicking "OK" on the error message, the newly added control appear to be functioning normally.&amp;nbsp; I googled this error quickly and saw some suggestions to delete the .user and .suo files and the bing and obj folders, however the error message still persists.&amp;nbsp; Has anyone else experienced this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/365499_screenshot1.PNG" style="width: 620px; height: 431px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="365498" alt="After selecteing an ArcGIS Pro SDK item to add, this error message is displayed." class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/365498_screenshot2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 21:11:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/quot-value-does-not-fall-within-expected-range/m-p/828163#M3177</guid>
      <dc:creator>mfcallahan</dc:creator>
      <dc:date>2017-08-02T21:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: "Value does not fall within expected range."</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/quot-value-does-not-fall-within-expected-range/m-p/828164#M3178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was not able to duplicate your scenario.&amp;nbsp; Just to recap, you have an existing add-in project (c#) and you try to add a new add-in template item to your existing project.&amp;nbsp; At the point right after you "drill down" to the "ArcGIS Pro Add-ins" item templates selection list you get an error pop-up?&amp;nbsp; I tried this exact scenario and didn't get the error message.&amp;nbsp; Just to make sure that the setup worked properly can you please try the following and then retest: &amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open a "Developer Command Prompt for VS2015" command running as Administrator (under applications, Visual Studio 2015 folder)&lt;/LI&gt;&lt;LI&gt;Close all instances of Visual Studio&lt;/LI&gt;&lt;LI&gt;In the command prompt run this command:&amp;nbsp;devenv /setup&lt;/LI&gt;&lt;LI&gt;Note: if you get the error "The operation could not be completed. The requested operation requires elevation." you have to open the VS 2015 command prompt by 'running it as Administrator'.&lt;/LI&gt;&lt;LI&gt;After the /setup command completes try your scenario once more.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 23:30:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/quot-value-does-not-fall-within-expected-range/m-p/828164#M3178</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2017-08-02T23:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: "Value does not fall within expected range."</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/quot-value-does-not-fall-within-expected-range/m-p/828165#M3179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similar experience in Visual Studio 2017.&amp;nbsp;I have uninstalled and reinstalled the SDK extensions which had no effect, and then did a visual studio repair which also had no effect.&amp;nbsp; The one thing I noticed (which may not be related) is that when adding an SDK item such as a button, the icons that are added to the project have their "Build Action" property set to "Resource" instead of "AddInContent".&lt;/P&gt;&lt;P&gt;&lt;IMG alt="The image shows a screen shot of the Properties Window of Visual Studio 2017" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/422131_BuildAction.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other than that, there doesn't appear to be any problems with the created classes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 13:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/quot-value-does-not-fall-within-expected-range/m-p/828165#M3179</guid>
      <dc:creator>RickPutnam</dc:creator>
      <dc:date>2018-09-17T13:33:10Z</dc:date>
    </item>
  </channel>
</rss>

