<?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 Microsoft.Bcl.Async support in Add-Ins [3.2] in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/microsoft-bcl-async-support-in-add-ins-3-2/m-p/267510#M793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to use the Async Framework within my Viewer Add-in, however the viewer is already loading the assemblies:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[Microsoft.Threading.Tasks.Extensions.Silverlight, Version=1.0.16.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[System.Runtime, Version=2.5.19.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[System.Threading.Tasks, Version=2.5.19.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The assemblies from the Nuget package in Microsoft.Bcl.Async -Version 1.0.168 reference a newer version of System.Runtime &amp;amp; System.Threading.Tasks (The version referenced in GitHub packages.config file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[System.Runtime, Version=2.6.8.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[System.Threading.Tasks, Version=2.6.8.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, by the time my add-in tries to load it's dependencies, the older version is already loaded in the appdomain by the viewer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a specific version of Microsoft.Bcl.Async which will reference the correct version of System.Runtime &amp;amp; System.Threading.Tasks?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2014 17:59:48 GMT</pubDate>
    <dc:creator>norie</dc:creator>
    <dc:date>2014-07-24T17:59:48Z</dc:date>
    <item>
      <title>Microsoft.Bcl.Async support in Add-Ins [3.2]</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/microsoft-bcl-async-support-in-add-ins-3-2/m-p/267510#M793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to use the Async Framework within my Viewer Add-in, however the viewer is already loading the assemblies:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[Microsoft.Threading.Tasks.Extensions.Silverlight, Version=1.0.16.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[System.Runtime, Version=2.5.19.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[System.Threading.Tasks, Version=2.5.19.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The assemblies from the Nuget package in Microsoft.Bcl.Async -Version 1.0.168 reference a newer version of System.Runtime &amp;amp; System.Threading.Tasks (The version referenced in GitHub packages.config file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[System.Runtime, Version=2.6.8.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;[System.Threading.Tasks, Version=2.6.8.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, by the time my add-in tries to load it's dependencies, the older version is already loaded in the appdomain by the viewer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a specific version of Microsoft.Bcl.Async which will reference the correct version of System.Runtime &amp;amp; System.Threading.Tasks?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 17:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/microsoft-bcl-async-support-in-add-ins-3-2/m-p/267510#M793</guid>
      <dc:creator>norie</dc:creator>
      <dc:date>2014-07-24T17:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft.Bcl.Async support in Add-Ins [3.2]</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/microsoft-bcl-async-support-in-add-ins-3-2/m-p/267511#M794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Despite what GitHub shows, the 3.2 release version of the viewer visual studio template and builder/viewer do not use the Microsoft.Bcl nuget package. They use the older now defunct Async Targeting Pack&lt;CODE&gt;.&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;To resolve, I unzipped the XAP and included &lt;CODE&gt;Microsoft.CompilerServices.AsyncTargetingPack.dll &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;into my project for Async Framework support.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;All is well (until the next release).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 00:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/microsoft-bcl-async-support-in-add-ins-3-2/m-p/267511#M794</guid>
      <dc:creator>norie</dc:creator>
      <dc:date>2014-07-25T00:14:17Z</dc:date>
    </item>
  </channel>
</rss>

