<?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: Upgrading from 10.1 to 10.3.1 and getting an error  on 'GraphicTrackerClass' in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/upgrading-from-10-1-to-10-3-1-and-getting-an-error/m-p/469887#M12738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you have "Embed Interop Types" set to true for the EngineCore assembly which is a feature of .NET 4.x. Try setting the .NET target framework to 3.5 in the project properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 17:05:28 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2015-08-20T17:05:28Z</dc:date>
    <item>
      <title>Upgrading from 10.1 to 10.3.1 and getting an error  on 'GraphicTrackerClass'</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/upgrading-from-10-1-to-10-3-1-and-getting-an-error/m-p/469886#M12737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to upgrading from 10.1 to 10.3.1 and getting an error "Interop type 'GraphicTrackerClass' cannot be embedded. Use the applicable interface instead." &lt;BR /&gt;I updated all the after updating all the References and an coding in Visual Studio 2013.&lt;/P&gt;&lt;P&gt;Here is the code that is failing:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green;"&gt;'Initialize the GraphicTracker with the Map&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_graphicTracker = &lt;SPAN style="color: blue;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #2b91af;"&gt;GraphicTrackerClass&lt;/SPAN&gt;()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_graphicTracker.Initialize(&lt;SPAN style="color: blue;"&gt;TryCast&lt;/SPAN&gt;(m_mapControl.Map, &lt;SPAN style="color: #2b91af;"&gt;IBasicMap&lt;/SPAN&gt;))&lt;BR /&gt;I have tried just removing the Class like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; m_graphicTracker = &lt;SPAN style="color: blue;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #2b91af;"&gt;GraphicTracker&lt;/SPAN&gt;()&lt;/P&gt;&lt;P&gt;But then I get the error : Cannot embed interop type 'ESRI.ArcGIS.EngineCore.IActiveViewEvents_Event' because the source interface 'ESRI.ArcGIS.Carto.IActiveViewEvents' referenced by its ComEventInterfaceAttribute cannot be found. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 22:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/upgrading-from-10-1-to-10-3-1-and-getting-an-error/m-p/469886#M12737</guid>
      <dc:creator>DarcyHathaway</dc:creator>
      <dc:date>2015-08-19T22:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading from 10.1 to 10.3.1 and getting an error  on 'GraphicTrackerClass'</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/upgrading-from-10-1-to-10-3-1-and-getting-an-error/m-p/469887#M12738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you have "Embed Interop Types" set to true for the EngineCore assembly which is a feature of .NET 4.x. Try setting the .NET target framework to 3.5 in the project properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 17:05:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/upgrading-from-10-1-to-10-3-1-and-getting-an-error/m-p/469887#M12738</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-08-20T17:05:28Z</dc:date>
    </item>
  </channel>
</rss>

