<?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: Geoprocessing.MakeValueArray throws System.Nullexception console application in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-makevaluearray-throws-system/m-p/769290#M546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piyush&lt;/P&gt;&lt;P&gt;Only&amp;nbsp;&amp;nbsp;ArcGIS.CoreHost and ArcGIS.Core assemblies are supported with a console application in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2020 15:27:18 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2020-06-30T15:27:18Z</dc:date>
    <item>
      <title>Geoprocessing.MakeValueArray throws System.Nullexception console application</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-makevaluearray-throws-system/m-p/769289#M545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Geoprocessing.MakeValueArray&lt;/STRONG&gt; throws System.Nullexception while using in console application. Is ArcGIS.Desktop.Core assembly supported in Console application and if yes what could be the issue it throws exception?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;string inRas1 = @"C:\Sample1.tif";&lt;BR /&gt; string inRas2 = @"C:\&lt;SPAN&gt;Sample2&lt;/SPAN&gt;.tif";&lt;/P&gt;&lt;P&gt;string maExpression = String.Format("Con((‘{0}’ &amp;gt; 30), ‘{1}’)", inRas1, inRas2);&lt;BR /&gt; string outRaster = @"C:\output.tif";&lt;BR /&gt;&lt;STRONG&gt;var valueArray = Geoprocessing.MakeValueArray(maExpression,outRaster);&lt;/STRONG&gt;&lt;BR /&gt; var gpresult = await Geoprocessing.ExecuteToolAsync("RasterCalculator_sa", valueArray);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2020 08:47:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-makevaluearray-throws-system/m-p/769289#M545</guid>
      <dc:creator>PiyushJain</dc:creator>
      <dc:date>2020-06-30T08:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing.MakeValueArray throws System.Nullexception console application</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-makevaluearray-throws-system/m-p/769290#M546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piyush&lt;/P&gt;&lt;P&gt;Only&amp;nbsp;&amp;nbsp;ArcGIS.CoreHost and ArcGIS.Core assemblies are supported with a console application in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2020 15:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-makevaluearray-throws-system/m-p/769290#M546</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2020-06-30T15:27:18Z</dc:date>
    </item>
  </channel>
</rss>

