<?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: How to use Visual Studio 2015 to compile ArcGIS 10.3.1 Addin project? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620193#M16676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is not what I mean.&lt;/P&gt;&lt;P&gt;Install VS2012. Then create&amp;nbsp;a new solution for ArcGIS 10.3.1 using one of the templates. make sure you can compile it.&lt;/P&gt;&lt;P&gt;Then open and work with this solution using VS2015 - it should work.&lt;/P&gt;&lt;P&gt;Use VS2012 ONLY to create the initial solution in the correct way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 05:24:48 GMT</pubDate>
    <dc:creator>ModyBuchbinder</dc:creator>
    <dc:date>2016-09-07T05:24:48Z</dc:date>
    <item>
      <title>How to use Visual Studio 2015 to compile ArcGIS 10.3.1 Addin project?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620190#M16673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to use Visual Studio 2015 to compile ArcGIS 10.3.1 Addin project?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks I need to modify the file: ESRI.ArcGIS.AddIns.11.targets, but still doesn't work. My Visual Studio 2015 project uses .NET Framework 4.5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After modifying the file as seen below, even I get more errors from the compiling when using ArcGIS 10.3.1 and Visual Studio 2015. Because I am using Visual Studio 2015 and ArcGIS 10.3.1, so I see I need to change the following conditions in ESRI.ArcGIS.AddIns.11.targets, in order to avoid compiling error for ESRI Addin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from:&lt;/P&gt;&lt;P&gt;Condition="'$(VisualStudioVersion)' == '12.0'"&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;Condition="'$(VisualStudioVersion)' == '14.0'"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;UsingTask AssemblyName="ESRI.ArcGIS.AddIns.SDK.12, Version=10.3.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" TaskName="PackageAddIn" Condition="'$(VisualStudioVersion)' == '12.0'" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;UsingTask AssemblyName="ESRI.ArcGIS.AddIns.SDK.12, Version=10.3.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" TaskName="ValidateAddInXMLTask" Condition="'$(VisualStudioVersion)' == '12.0'" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;UsingTask AssemblyName="ESRI.ArcGIS.AddIns.SDK.12, Version=10.3.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" TaskName="ConvertToRelativePath" Condition="'$(VisualStudioVersion)' == '12.0'" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;UsingTask AssemblyName="ESRI.ArcGIS.AddIns.SDK.12, Version=10.3.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" TaskName="ResolveAddInReference" Condition="'$(VisualStudioVersion)' == '12.0'" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Before modifying the file, the compiling errors are:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\MSBuild\ESRI\ESRI.ArcGIS.AddIns.11.targets(41,5): error MSB4036: The "ValidateAddInXMLTask" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with &amp;lt;UsingTask&amp;gt; in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\MSBuild\14.0\bin" directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After modifying the file, the compiling errors are:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\Program Files (x86)\MSBuild\ESRI\ESRI.ArcGIS.AddIns.11.targets(41,5): error MSB4018: The "ValidateAddInXMLTask" task failed unexpectedly.&lt;BR /&gt;1&amp;gt;C:\Program Files (x86)\MSBuild\ESRI\ESRI.ArcGIS.AddIns.11.targets(41,5): error MSB4018: System.FormatException: Input string was not in a correct format.&lt;BR /&gt;1&amp;gt;C:\Program Files (x86)\MSBuild\ESRI\ESRI.ArcGIS.AddIns.11.targets(41,5): error MSB4018:&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2016 14:49:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620190#M16673</guid>
      <dc:creator>PeterLi1</dc:creator>
      <dc:date>2016-09-03T14:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Visual Studio 2015 to compile ArcGIS 10.3.1 Addin project?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620191#M16674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This version of VS and framework is not supported in 10.3.1&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/get-started/system-requirements/arcobjects-sdk-system-requirements.htm#ESRI_SECTION1_134116909B4B4DB888C65AF8FC67CAB9" title="http://desktop.arcgis.com/en/arcmap/10.3/get-started/system-requirements/arcobjects-sdk-system-requirements.htm#ESRI_SECTION1_134116909B4B4DB888C65AF8FC67CAB9"&gt;ArcObjects SDK 10.3.x system requirements—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The best way is to install one of the supported VS, then you have all the templates ready to use in it.&lt;/P&gt;&lt;P&gt;You create your solution in VS 1012 and then you can just keep working on it in VS 2015 (and change the framework too).&lt;/P&gt;&lt;P&gt;It works for me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2016 04:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620191#M16674</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2016-09-04T04:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Visual Studio 2015 to compile ArcGIS 10.3.1 Addin project?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620192#M16675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Do you mean that I have to use ArcGIS 10.4 with VS 2015, and can not keep working on ArcGIS 10.3.1, that we actually need it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 01:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620192#M16675</guid>
      <dc:creator>PeterLi1</dc:creator>
      <dc:date>2016-09-07T01:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Visual Studio 2015 to compile ArcGIS 10.3.1 Addin project?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620193#M16676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is not what I mean.&lt;/P&gt;&lt;P&gt;Install VS2012. Then create&amp;nbsp;a new solution for ArcGIS 10.3.1 using one of the templates. make sure you can compile it.&lt;/P&gt;&lt;P&gt;Then open and work with this solution using VS2015 - it should work.&lt;/P&gt;&lt;P&gt;Use VS2012 ONLY to create the initial solution in the correct way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 05:24:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620193#M16676</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2016-09-07T05:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Visual Studio 2015 to compile ArcGIS 10.3.1 Addin project?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620194#M16677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. &amp;nbsp;That's what I did. I always use VS 2012 and ArcGIS 10.3.1 and has no problem, but the above errors occurred when using VS 2015. The error couldn't be resolved. So I thought VS2015 is not good for ArcGI 10.3.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 14:04:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620194#M16677</guid>
      <dc:creator>PeterLi1</dc:creator>
      <dc:date>2016-09-07T14:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Visual Studio 2015 to compile ArcGIS 10.3.1 Addin project?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620195#M16678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;1- Unload the project (in Solution Explorer) by right-clicking the Project and selecting "Unload Project"&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;2- Right click the unloaded project and select "Edit Project". An XML file opens (*.csproj).&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&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;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;4- Change this string to the following: ESRI.ArcGIS.AddIns.11.targets. Essentially, add the integer "11" after Addins.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;5- Save the XML (*.csproj) file, and close it.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;6- Right-click the project, and select "Reload Project".&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;7- Recompile your project. The error should have been resolved.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;8- Repeat the above steps for all Add-In projects in your solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 09:40:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620195#M16678</guid>
      <dc:creator>chandrareddy</dc:creator>
      <dc:date>2016-11-10T09:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Visual Studio 2015 to compile ArcGIS 10.3.1 Addin project?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620196#M16679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;^^ this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/357539_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your steps... changed the following to:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="357537" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/357537_pastedImage_1.png" style="width: 620px; height: 160px;" /&gt;&lt;/P&gt;&lt;P&gt;End of your steps...&lt;/P&gt;&lt;P&gt;and rather than the 1 error...&lt;/P&gt;&lt;P&gt;now have, in this case, 74. &amp;nbsp;all related to inheriting AddIns.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="357538" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/357538_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2017 16:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-visual-studio-2015-to-compile-arcgis-10/m-p/620196#M16679</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2017-06-17T16:55:33Z</dc:date>
    </item>
  </channel>
</rss>

