<?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: Error thrown from Toolkit after upgrade to VS Update 4 in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589471#M7230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that most of us (if not all) are using Update 4. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2014 12:21:40 GMT</pubDate>
    <dc:creator>AnttiKajanus1</dc:creator>
    <dc:date>2014-12-10T12:21:40Z</dc:date>
    <item>
      <title>Error thrown from Toolkit after upgrade to VS Update 4</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589467#M7226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A colleague of mine upgraded his Visual Studio 2013 to Update 4 and now gets the error below thrown from the ArcGIS Runtime Toolkit for .Net.&amp;nbsp; Others on the team, including myself do not get this error staying at VS Update 3.&amp;nbsp; We also tested on another VM with update 4 and same error occurs, so we are guessing its something related to Update 4.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone get this issue? Or have any suggestions? Besides reverting to Update 3, he already tried and cannot seem to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error is thrown in ScaleLines.cs GetMile method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Inner Exception:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;{"Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;System.TypeLoadException&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;{"Requested Windows Runtime type 'RuntimeCoreNet.CoreUnit' is not registered.":"RuntimeCoreNet.CoreUnit"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Stack Trace&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&amp;nbsp; at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&amp;nbsp; at RuntimeCoreNet.CoreUnit.Create(Int32 id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&amp;nbsp; at Esri.ArcGISRuntime.Geometry.Unit.TryCreate(Int32 id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&amp;nbsp; at Esri.ArcGISRuntime.Geometry.Unit.Create(Int32 id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&amp;nbsp; at Esri.ArcGISRuntime.Geometry.LinearUnits.get_Inches()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&amp;nbsp; at Esri.ArcGISRuntime.Toolkit.Controls.ScaleLine.GetMile()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&amp;nbsp; at Esri.ArcGISRuntime.Toolkit.Controls.ScaleLine.Refresh()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&amp;nbsp; at Esri.ArcGISRuntime.Toolkit.Controls.ScaleLine.OnScalePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 15:05:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589467#M7226</guid>
      <dc:creator>SimonFisher</dc:creator>
      <dc:date>2014-12-03T15:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error thrown from Toolkit after upgrade to VS Update 4</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589468#M7227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using Windows Store, Windows Phone or Windows Desktop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error would occur if the native resources are not deployed at runtime. There could be a number of reason for this, none of which should occur because of the update.&lt;/P&gt;&lt;P&gt;In any case, try one of the following two things:&lt;/P&gt;&lt;P&gt; - Create a new app using the provided template. Will the app run?&lt;/P&gt;&lt;P&gt; - Re-install the SDK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 19:39:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589468#M7227</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2014-12-03T19:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error thrown from Toolkit after upgrade to VS Update 4</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589469#M7228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually just noticed in your screenshot that this is Windows Store. In that case it's likely because you are referencing the DLL and not the Extension SDK. Try and remove the reference to the runtime SDK and add a reference to the extension sdk instead, as described here: &lt;A href="https://developers.arcgis.com/net/store/api-reference//html/904a79c7-eb31-4689-8490-330b0c407722.htm" title="https://developers.arcgis.com/net/store/api-reference//html/904a79c7-eb31-4689-8490-330b0c407722.htm"&gt;Creating your first app&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 19:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589469#M7228</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2014-12-03T19:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error thrown from Toolkit after upgrade to VS Update 4</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589470#M7229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have always referenced the Extension SDK.&amp;nbsp; I did ask him to remove the reference anyway and try re-adding it, but it did not help, same error.&amp;nbsp; Could VS Update 4 have changed something in the way the references get loaded?&amp;nbsp; We still think its something to do with Update 4 as we have 3 machines on Update 3 that work fine and 2 machines on Update 4 that show this error.&amp;nbsp; Has the SDK team gone to Update 4 yet and tested?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 15:38:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589470#M7229</guid>
      <dc:creator>SimonFisher</dc:creator>
      <dc:date>2014-12-05T15:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error thrown from Toolkit after upgrade to VS Update 4</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589471#M7230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that most of us (if not all) are using Update 4. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 12:21:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-thrown-from-toolkit-after-upgrade-to-vs/m-p/589471#M7230</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2014-12-10T12:21:40Z</dc:date>
    </item>
  </channel>
</rss>

