<?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: ArcGIS 10.1 stand alone .Net application working with 10.2 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663094#M17770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure it isn't the OS that is the problem?&amp;nbsp; In my office we have some people on XP 32 bit and others on Win7 64 bit, which causes me all sorts of problems when distributing ArcGIS tools.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2014 16:26:52 GMT</pubDate>
    <dc:creator>BBulla</dc:creator>
    <dc:date>2014-03-17T16:26:52Z</dc:date>
    <item>
      <title>ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663092#M17768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a standalone .Net application that references the arc com objects. The program was compiled with VS 2010 on a pc that has ArcGIS 10.1 installed on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried running the same software on a pc with ArcGIS 10.2 running on it and the software fails to run. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping not to have two separate builds of the software, dependent on the version of ArcGIS installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way I can compile the software so that it works with both versions of ArcGIS 10.1 and 10.2?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 18:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663092#M17768</guid>
      <dc:creator>ScottLangstaff</dc:creator>
      <dc:date>2014-03-14T18:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663093#M17769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm guessing your standalone is attempting to reference the old 10.1 location?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just an idea, not sure if it is correct as I have not had to build a stand alone application for some time but in VS, in the solution Explorer panel&amp;gt; References&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;set each ESRI reference to Copy Local = TRUE. This should bundle up the DLLs into the same folder as your executable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 15:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663093#M17769</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2014-03-17T15:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663094#M17770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure it isn't the OS that is the problem?&amp;nbsp; In my office we have some people on XP 32 bit and others on Win7 64 bit, which causes me all sorts of problems when distributing ArcGIS tools.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 16:26:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663094#M17770</guid>
      <dc:creator>BBulla</dc:creator>
      <dc:date>2014-03-17T16:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663095#M17771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think its an operating system problem. The two desktops are identical Win 7 virtual machines.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 16:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663095#M17771</guid>
      <dc:creator>ScottLangstaff</dc:creator>
      <dc:date>2014-03-17T16:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663096#M17772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm guessing your standalone is attempting to reference the old 10.1 location?&lt;BR /&gt;&lt;BR /&gt;Just an idea, not sure if it is correct as I have not had to build a stand alone application for some time but in VS, in the solution Explorer panel&amp;gt; References&lt;BR /&gt;&lt;BR /&gt;set each ESRI reference to Copy Local = TRUE. This should bundle up the DLLs into the same folder as your executable.&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping that the same executable would be able to work with both versions of ArcGIS's objects. I know it was that way back in ArcGIS v9.* but when they moved to 10, it seems like I need a different executable for each ArcGIS version. I do understand that there were allot of changes between ArcGIS 9 and 10, so it makes sense that I need a different executable, but I had hoped that within 10.1 and 10.2, there would not be as many changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 16:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663096#M17772</guid>
      <dc:creator>ScottLangstaff</dc:creator>
      <dc:date>2014-03-17T16:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663097#M17773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is that when you link your application with ESRI assemblies the resulting executable will reference the exact version that you linked against.&amp;nbsp; Setting the assembly reference to be non-version specific only changes what it does when it builds.&amp;nbsp; This is how .NET behaves and has nothing to do with ESRI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way that you can make this work is to redirect your assembly references:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://msdn.microsoft.com/en-us/library/7wd6ex19%28v=VS.100%29.aspx" rel="nofollow" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/7wd6ex19%28v=VS.100%29.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see how ESRI does this by looking at ArcMap.exe.config.&amp;nbsp; You could build against 10.1 and then (assuming ESRI made no breaking API changes) provide an application configuration for your 10.2 delivery which simply redirected your 10.1 assembly references to 10.2.&amp;nbsp; I have done this very thing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 19:50:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663097#M17773</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2014-03-17T19:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663098#M17774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The problem is that when you link your application with ESRI assemblies the resulting executable will reference the exact version that you linked against.&amp;nbsp; Setting the assembly reference to be non-version specific only changes what it does when it builds.&amp;nbsp; This is how .NET behaves and has nothing to do with ESRI.&lt;BR /&gt;&lt;BR /&gt;The way that you can make this work is to redirect your assembly references:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/7wd6ex19%28v=VS.100%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/7wd6ex19%28v=VS.100%29.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can see how ESRI does this by looking at ArcMap.exe.config.&amp;nbsp; You could build against 10.1 and then (assuming ESRI made no breaking API changes) provide an application configuration for your 10.2 delivery which simply redirected your 10.1 assembly references to 10.2.&amp;nbsp; I have done this very thing.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks rlwatson, This has solved my problem. Doing some more digging, it appears that in the ArcGIS v9 ESRI provided a automatic redirection. I guess this did not continue in v10.* . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisengine/dotnet/1b2bbc48-1c2c-4096-9970-6cb4abf2a4d7.htm"&gt;http://resources.esri.com/help/9.3/arcgisengine/dotnet/1b2bbc48-1c2c-4096-9970-6cb4abf2a4d7.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 13:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663098#M17774</guid>
      <dc:creator>ScottLangstaff</dc:creator>
      <dc:date>2014-03-18T13:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663099#M17775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Richard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;exe.config&lt;/SPAN&gt;&lt;SPAN&gt; file, how did you create it for your project? Did you copy the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ArcMap.exe.config&lt;/SPAN&gt;&lt;SPAN&gt; and then edit it, or is it something you create from within the Visual Studio project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 13:43:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663099#M17775</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2014-03-18T13:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663100#M17776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I already had a program.exe.config file for my program. I just copied the &amp;lt;runtime&amp;gt; section from the ArcMAP.exe.config into my program.exe.config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would also be curious if this can be configured in Visual Studio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 13:48:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663100#M17776</guid>
      <dc:creator>ScottLangstaff</dc:creator>
      <dc:date>2014-03-18T13:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663101#M17777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In Visual Studio, I added an "Application Configuration File" project item and then edited it.&amp;nbsp; I used the information in ArcMap.exe.config as a guide and changed the content to values that made sense for what I was trying to do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 13:50:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663101#M17777</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2014-03-18T13:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1 stand alone .Net application working with 10.2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663102#M17778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm.. interesting&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a thread that just keeps on giving, thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-stand-alone-net-application-working/m-p/663102#M17778</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2014-03-18T14:09:35Z</dc:date>
    </item>
  </channel>
</rss>

