<?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 Error in a VS 2012 project in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-in-a-vs-2012-project/m-p/634112#M17094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I installed VS 2012 Ultimate and also ArcObjects WDK for MS .Net FW.&amp;nbsp; Then I opened a .sln on the VS 2012 but got the Error below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The "ValidateAddInXMLTask" task could not be loaded from the assembly ESRI.ArcGIS.AddIns.SDK, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86. Could not load file or assembly 'Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the &amp;lt;UsingTask&amp;gt; declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I checked the Registry Editor, and did see the item: ESRI.ArcGIS.AddIns.SDK.11, Version="10.2.0.0"&lt;/P&gt;&lt;P&gt;What should I do to debug it?&amp;nbsp; Appreciate if you can help for this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Sep 2016 12:21:42 GMT</pubDate>
    <dc:creator>ShaningYu</dc:creator>
    <dc:date>2016-09-12T12:21:42Z</dc:date>
    <item>
      <title>Error in a VS 2012 project</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-in-a-vs-2012-project/m-p/634112#M17094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I installed VS 2012 Ultimate and also ArcObjects WDK for MS .Net FW.&amp;nbsp; Then I opened a .sln on the VS 2012 but got the Error below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The "ValidateAddInXMLTask" task could not be loaded from the assembly ESRI.ArcGIS.AddIns.SDK, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86. Could not load file or assembly 'Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the &amp;lt;UsingTask&amp;gt; declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I checked the Registry Editor, and did see the item: ESRI.ArcGIS.AddIns.SDK.11, Version="10.2.0.0"&lt;/P&gt;&lt;P&gt;What should I do to debug it?&amp;nbsp; Appreciate if you can help for this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 12:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-in-a-vs-2012-project/m-p/634112#M17094</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2016-09-12T12:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error in a VS 2012 project</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-in-a-vs-2012-project/m-p/634113#M17095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/7616"&gt;Shaning Yu&lt;/A&gt;‌ It would be helpful to know more of the system/environment information( which version of ArcObjects and your type of project ) but give this a shot since it tends to be a common issue that is a result of that error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- Unload the project (in Solution Explorer) by right-clicking the Project and selecting "Unload Project"&lt;BR /&gt;2- Right click the unloaded project and select "Edit Project". An XML file opens (*.csproj).&lt;BR /&gt;3- In the XML, search for the attribute value that contains the following string: ESRI.ArcGIS.AddIns.targets. You will find three occurrences of this string.&lt;BR /&gt;4- Change this string to the following: ESRI.ArcGIS.AddIns.11.targets. Essentially, add the integer "11" after Addins.&lt;BR /&gt;5- Save the XML (*.csproj) file, and close it.&lt;BR /&gt;6- Right-click the project, and select "Reload Project".&lt;BR /&gt;7- Recompile your project. The error should have been resolved.&lt;BR /&gt;8- Repeat the above steps for all Add-In projects in your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar reference for &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ff287307-cd75-45aa-90f5-b0765500ada9.htm"&gt;How to Port your Addin from a previous version&lt;/A&gt;&amp;nbsp;but a little different since it is intended for 10.3 and lower to 10.4 but makes similar adjustments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 18:36:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-in-a-vs-2012-project/m-p/634113#M17095</guid>
      <dc:creator>JaredCaccamo</dc:creator>
      <dc:date>2016-09-12T18:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in a VS 2012 project</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-in-a-vs-2012-project/m-p/634114#M17096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jared:&amp;nbsp; Thanks for your response.&amp;nbsp; I have generally solved the problem by re-creating a new project, and then loading the elements from the existing source project one by one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 18:40:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-in-a-vs-2012-project/m-p/634114#M17096</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2016-09-12T18:40:48Z</dc:date>
    </item>
  </channel>
</rss>

