<?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: Build errors upgrading to VS2013 and ArcGIS 10.3.1 in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/build-errors-upgrading-to-vs2013-and-arcgis-10-3-1/m-p/116320#M744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much. Just the ticket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 19:43:18 GMT</pubDate>
    <dc:creator>ErikaDade</dc:creator>
    <dc:date>2016-12-07T19:43:18Z</dc:date>
    <item>
      <title>Build errors upgrading to VS2013 and ArcGIS 10.3.1</title>
      <link>https://community.esri.com/t5/developers-questions/build-errors-upgrading-to-vs2013-and-arcgis-10-3-1/m-p/116318#M742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi-&lt;/P&gt;&lt;P&gt;I am upgrading a VS2010 C++ project for ArcGIS10.2 to VS2013 and ArcGIS10.3.1.&amp;nbsp; Running on Win 7 Pro 64-bit and passed all hardware and OS recommendations for being able to run ArcGIS10.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In stdafx.h, there are imports for all ESRI libs, such as:&lt;/P&gt;&lt;P&gt;#import "c:\Program Files (x86)\ArcGIS\Desktop10.3\com\esriSystem.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids, exclude("OLE_COLOR", "OLE_HANDLE", "VARTYPE")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On build,&lt;/P&gt;&lt;P&gt;.\myprojectpath\debug\esrisystem.tlh(374): warning C4099: 'XMLSerializer' : type name first seen using 'class' now seen using 'struct'&lt;BR /&gt;1&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Program Files (x86)\Windows Kits\8.1\Include\um\mshtml.h(8463) : see declaration of 'XMLSerializer'&lt;/P&gt;&lt;P&gt;.\myprojectpath\debug\esrisystem.tlh(4210): error C3121: cannot change GUID for class 'XMLSerializer'&lt;BR /&gt;1&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Program Files (x86)\Windows Kits\8.1\Include\um\mshtml.h(8463) : see declaration of 'XMLSerializer'&lt;BR /&gt;========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the class/struct is multiply defined between esri and system libs, but does anyone have an idea what to do about it?&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 16:48:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/build-errors-upgrading-to-vs2013-and-arcgis-10-3-1/m-p/116318#M742</guid>
      <dc:creator>ErikaDade</dc:creator>
      <dc:date>2016-10-12T16:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Build errors upgrading to VS2013 and ArcGIS 10.3.1</title>
      <link>https://community.esri.com/t5/developers-questions/build-errors-upgrading-to-vs2013-and-arcgis-10-3-1/m-p/116319#M743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same thing here. Upgrading project from ArcGIS 10.3.1 to 10.4.1. Visual Studio is the same (2013)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I found a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You see in the posted error messages the reference to the causing *.tlh file. Just add for every according import in stdafx.h a rename like this:&lt;/P&gt;&lt;P&gt;rename("XMLSerializer", "ESRI_XMLSerializer")&lt;/P&gt;&lt;P&gt;With this the class will be renamed in the generated *.tlh file which solves the conflict.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your and also mine case the error is caused by esriSystem so I added the rename to the esriSystem import.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/build-errors-upgrading-to-vs2013-and-arcgis-10-3-1/m-p/116319#M743</guid>
      <dc:creator>deleted-user-OFT1wBX1CgU4</dc:creator>
      <dc:date>2016-10-21T10:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Build errors upgrading to VS2013 and ArcGIS 10.3.1</title>
      <link>https://community.esri.com/t5/developers-questions/build-errors-upgrading-to-vs2013-and-arcgis-10-3-1/m-p/116320#M744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much. Just the ticket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 19:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/build-errors-upgrading-to-vs2013-and-arcgis-10-3-1/m-p/116320#M744</guid>
      <dc:creator>ErikaDade</dc:creator>
      <dc:date>2016-12-07T19:43:18Z</dc:date>
    </item>
  </channel>
</rss>

