<?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 InvalidOperationException when using Linear Units in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/invalidoperationexception-when-using-linear-units/m-p/22943#M255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been getting an exception whilst creating a simple app, and wanted an insight into what I'm doing wrong.&lt;/P&gt;&lt;P&gt;I've got a console app which just tries to retrieve a LinearUnit, in this case Miles. This is throwing an exception, about a DLL (RunTimeCoreNet.dll) not being found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Using Dependencies.exe I was able to locate the problem with the reference being incorrect and expecting to be placed alongside the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Placing the required dll next to the Esri.ArcGISRuntime.dll fixes the exception, and fixes the error in dependencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming this is a&amp;nbsp;simple issue of some kind of my own end, and wondered if anyone could shed light on&amp;nbsp;how to make this work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the project for reference and reproduction, I've had to delete the packages to save space but they should download when the solution is opened.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2019 13:23:12 GMT</pubDate>
    <dc:creator>RyanMcpherson</dc:creator>
    <dc:date>2019-02-06T13:23:12Z</dc:date>
    <item>
      <title>InvalidOperationException when using Linear Units</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/invalidoperationexception-when-using-linear-units/m-p/22943#M255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been getting an exception whilst creating a simple app, and wanted an insight into what I'm doing wrong.&lt;/P&gt;&lt;P&gt;I've got a console app which just tries to retrieve a LinearUnit, in this case Miles. This is throwing an exception, about a DLL (RunTimeCoreNet.dll) not being found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Using Dependencies.exe I was able to locate the problem with the reference being incorrect and expecting to be placed alongside the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Placing the required dll next to the Esri.ArcGISRuntime.dll fixes the exception, and fixes the error in dependencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming this is a&amp;nbsp;simple issue of some kind of my own end, and wondered if anyone could shed light on&amp;nbsp;how to make this work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the project for reference and reproduction, I've had to delete the packages to save space but they should download when the solution is opened.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/invalidoperationexception-when-using-linear-units/m-p/22943#M255</guid>
      <dc:creator>RyanMcpherson</dc:creator>
      <dc:date>2019-02-06T13:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: InvalidOperationException when using Linear Units</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/invalidoperationexception-when-using-linear-units/m-p/22944#M256</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;RuntimeCoreNet.dll&amp;nbsp;must be in a specific folder alongside your application executable - the structure is described here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/latest/wpf/guide/deployment.htm"&gt;https://developers.arcgis.com/net/latest/wpf/guide/deployment.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also an `InstallPath` property on the `ArcGISRuntimeEnvironment` class. You can use this property to set the folder in which the `ArcGISRuntime100.X` is located.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 17:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/invalidoperationexception-when-using-linear-units/m-p/22944#M256</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2019-05-15T17:32:28Z</dc:date>
    </item>
  </channel>
</rss>

