<?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 Windows 2012 add-in debugging problem in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/windows-2012-add-in-debugging-problem/m-p/367314#M9666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I'm migrating my ArcGIS 10.2.1 / VS2010 development environment from Windows 2008 R2 to 2012 R2, and have run into a problem with debugging a .NET add-in.&amp;nbsp; I matched&amp;nbsp;my VS and project debug settings,&amp;nbsp;also ArcMap.exe.config, and am running as Administrator, but I still can't hit my breakpoints unless I manually attach my&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;project&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to an existing ArcMap process.&amp;nbsp;Any ideas? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem seems to be that Windows 2012&amp;nbsp;is ignoring* the "supportedRuntime" entry in ArcMap.exe.config.&amp;nbsp; In Win2008, ArcMap runs as v4.0.30319 as expected, but in Win2012, ArcMap runs as v2.0.50727.&amp;nbsp; I tried two different syntaxes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;supportedRuntime version="v4.0.30319"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and neither are working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;*when ArcMap is launched from VS2010.&amp;nbsp; When ArcMap is run separately, it runs as both v2.0 and v4.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2017 23:13:16 GMT</pubDate>
    <dc:creator>MarkCederholm</dc:creator>
    <dc:date>2017-12-06T23:13:16Z</dc:date>
    <item>
      <title>Windows 2012 add-in debugging problem</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/windows-2012-add-in-debugging-problem/m-p/367314#M9666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I'm migrating my ArcGIS 10.2.1 / VS2010 development environment from Windows 2008 R2 to 2012 R2, and have run into a problem with debugging a .NET add-in.&amp;nbsp; I matched&amp;nbsp;my VS and project debug settings,&amp;nbsp;also ArcMap.exe.config, and am running as Administrator, but I still can't hit my breakpoints unless I manually attach my&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;project&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to an existing ArcMap process.&amp;nbsp;Any ideas? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem seems to be that Windows 2012&amp;nbsp;is ignoring* the "supportedRuntime" entry in ArcMap.exe.config.&amp;nbsp; In Win2008, ArcMap runs as v4.0.30319 as expected, but in Win2012, ArcMap runs as v2.0.50727.&amp;nbsp; I tried two different syntaxes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;supportedRuntime version="v4.0.30319"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and neither are working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;*when ArcMap is launched from VS2010.&amp;nbsp; When ArcMap is run separately, it runs as both v2.0 and v4.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 23:13:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/windows-2012-add-in-debugging-problem/m-p/367314#M9666</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2017-12-06T23:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Windows 2012 add-in debugging problem</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/windows-2012-add-in-debugging-problem/m-p/367315#M9667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to "solve" the problem by setting the&amp;nbsp;&lt;CODE style="background-color: #eff0f1; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: inherit;"&gt;OnlyUseLatestCLR&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;registry value, but that's an extreme measure to take.&amp;nbsp; Surely, there's a better solution out there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 14:57:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/windows-2012-add-in-debugging-problem/m-p/367315#M9667</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2018-01-05T14:57:01Z</dc:date>
    </item>
  </channel>
</rss>

