<?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: Creating .esriAddInX file on Jenkins build system without ArcGIS Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/creating-esriaddinx-file-on-jenkins-build-system/m-p/1586069#M93128</link>
    <description>&lt;P&gt;I know this is a really old thread, but this is the only hit when I search for help on&amp;nbsp;The "CleanAddIn" task failed unexpectedly. System.NullReferenceException: Object reference not set to an instance of an object. Any answers out there for why this would be happening when I try to create an addin for Pro in Visual Studio 2022?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2025 16:06:11 GMT</pubDate>
    <dc:creator>MapperJones</dc:creator>
    <dc:date>2025-02-17T16:06:11Z</dc:date>
    <item>
      <title>Creating .esriAddInX file on Jenkins build system without ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/creating-esriaddinx-file-on-jenkins-build-system/m-p/480976#M21130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0px; color: #222222; font-size: 12.8px; text-indent: 0px; background-color: #ffffff;"&gt;Hi! I need your help to create MSI installer on a rmote cmputer that does not have installed ArcGIS Pro!&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;I need to create an MSI installer for my project that I need to put .esriAddInX file. The computer on which I work this is no problem, but I do the same operation to perform on a remote computer where is installed Jenkins, that does not have ArcGIS Pro, and when I try to compile the project on a remote computer I get the following errors from &lt;A data-saferedirecturl="https://www.google.com/url?hl=ru&amp;amp;q=https://urldefense.proofpoint.com/v2/url?u%3Dhttps-3A__jenkins.io_%26d%3DDgMFaQ%26c%3Dn6-cguzQvX_tUIrZOS_4Og%26r%3DZwiYGy5n9OyeNmyfd3cDAncqJAKRqKqO0R8_o01Q7Cs%26m%3DdL8-Q7LOq2QhL9xmR4if8pkFoCO6c1pQQcST1Lt4hpI%26s%3DCH5vESy9fSpi0dug1R-LYXm9nQjDJoIFa0RcFAl4vb0%26e%3D&amp;amp;source=gmail&amp;amp;ust=1484226317854000&amp;amp;usg=AFQjCNGxJ4OQ5Y069bBp9m7HuPhmzKwKXA" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__jenkins.io_&amp;amp;d=DgMFaQ&amp;amp;c=n6-cguzQvX_tUIrZOS_4Og&amp;amp;r=ZwiYGy5n9OyeNmyfd3cDAncqJAKRqKqO0R8_o01Q7Cs&amp;amp;m=dL8-Q7LOq2QhL9xmR4if8pkFoCO6c1pQQcST1Lt4hpI&amp;amp;s=CH5vESy9fSpi0dug1R-LYXm9nQjDJoIFa0RcFAl4vb0&amp;amp;e=" style="color: #1155cc;"&gt;Jenkins&lt;/A&gt;:&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;error MSB4018: The "PackageAddIn" task failed unexpectedly.&lt;/P&gt;&lt;P style="margin: 0px;"&gt;error MSB4018: System.InvalidOperationException: Install location of ArcGIS Pro cannot be found. Please check your registry for HKLM\SOFTWARE\ESRI\ArcGISPro\InstallDir&lt;/P&gt;&lt;P style="margin: 0px;"&gt;error MSB4018: at proapp_sdk_MSBuild.MSIHelper.GetInstallDirAndVersionFromReg()&lt;/P&gt;&lt;P style="margin: 0px;"&gt;error MSB4018: at proapp_sdk_MSBuild.MSIHelper.GetInstallDirAndVersion()&lt;/P&gt;&lt;P style="margin: 0px;"&gt;error MSB4018: at proapp_sdk_MSBuild.PackageAddIn.Execute()&lt;/P&gt;&lt;P style="margin: 0px;"&gt;error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()&lt;/P&gt;&lt;P style="margin: 0px;"&gt;error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.&amp;lt;ExecuteInstantiatedTask&amp;gt;d__26.MoveNext()&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;The file Esri.ProApp.SDK.Desktop.targets and proapp-sdk-MSBuild.dll placed in the folder of my project, and the path to it is registered as folows:&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;lt;Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /&amp;gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;lt;Import Project="..\ThirdParty\Tools\Esri.ProApp.SDK.Desktop.targets" Condition="Exists('..\ThirdParty\Tools\Esri.ProApp.SDK.Desktop.targets')" /&amp;gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;lt;UsingTask AssemblyFile="..\ThirdParty\Tools\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.PackageAddIn" /&amp;gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;lt;UsingTask AssemblyFile="..\ThirdParty\Tools\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.CleanAddIn" /&amp;gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;lt;UsingTask AssemblyFile="..\ThirdParty\Tools\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.ConvertToRelativePath" /&amp;gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;lt;UsingTask AssemblyFile="..\ThirdParty\Tools\proapp-sdk-MSBuild.dll" TaskName="ArcGIS_Desktop_MSBuild.PackageAddIn" /&amp;gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;lt;UsingTask AssemblyFile="..\ThirdParty\Tools\proapp-sdk-MSBuild.dll" TaskName="esri_proapp_sdk_MSBuild.ConvertToRelativePath" /&amp;gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;The file Esri.ProApp.SDK.Desktop.targets I did not change because I do not know how it initialized variables, and if I can set their own values.&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;Help me please clarify whether it is possible to receive .esriAddInX file without installed ArcGIS Pro, and how do I need to do to modify the project file and Esri.ProApp.SDK.Desktop.targets, so that the romote computer where is installed Jenkins I could get .esriAddInX file!&lt;/P&gt;&lt;P style="margin: 0px;"&gt;I would appreciate fro any help and advice!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 13:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/creating-esriaddinx-file-on-jenkins-build-system/m-p/480976#M21130</guid>
      <dc:creator>VolodymyrDmytruk2</dc:creator>
      <dc:date>2017-01-11T13:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating .esriAddInX file on Jenkins build system without ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/creating-esriaddinx-file-on-jenkins-build-system/m-p/1586069#M93128</link>
      <description>&lt;P&gt;I know this is a really old thread, but this is the only hit when I search for help on&amp;nbsp;The "CleanAddIn" task failed unexpectedly. System.NullReferenceException: Object reference not set to an instance of an object. Any answers out there for why this would be happening when I try to create an addin for Pro in Visual Studio 2022?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 16:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/creating-esriaddinx-file-on-jenkins-build-system/m-p/1586069#M93128</guid>
      <dc:creator>MapperJones</dc:creator>
      <dc:date>2025-02-17T16:06:11Z</dc:date>
    </item>
  </channel>
</rss>

