Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

iOS build failure - An assembly with the same identity.....

$
0
0

Environment
Visual Studio 2013,
Xamarin.Forms v1.3.0.6292,
Target Framework=xamarinios10

Sorry for the cross post but had no luck posting this in the Visual Studio forum.

I get the following three errors when trying to build my new iOS project using Xamarin.Forms (the Android project builds and deploys fine). The issue seems to point to the Microsoft.Bcl package.

Originally, I created the app using Xamarin.Forms and everything built and deployed fine, since recreating the app project at the weekend using the latest version of Xamarin.Forms I have this build issue. One thing I've noticed is that the Target Framework in the packages.config file now shows xamarinios10, previously it was MonoTouch10, not sure if that has any bearing on the issue.

Please can someone assist with this build failure?

Cheer, Iain

  1. An assembly with the same identity 'System.IO, Version=2.6.9.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Try removing one of the duplicate references. c:\Projects\xxx\packages\Microsoft.Bcl.1.1.9\lib\portable-net40+win8\System.IO.dll ReportIt.iOS

  2. An assembly with the same identity 'System.Runtime, Version=2.6.9.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Try removing one of the duplicate references. c:\Projects\xxx\packages\Microsoft.Bcl.1.1.9\lib\portable-net40+win8\System.Runtime.dll ReportIt.iOS

  3. An assembly with the same identity 'System.Threading.Tasks, Version=2.6.9.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Try removing one of the duplicate references. c:\xxx\packages\Microsoft.Bcl.1.1.9\lib\portable-net40+win8\System.Threading.Tasks.dll ReportIt.iOS

My iOS Xamarin.Forms project uses these packages:

"AutoMapper" version="3.3.0" targetFramework="xamarinios10"

"LinqToTwitter" version="3.1.1" targetFramework="xamarinios10"

"Microsoft.Bcl" version="1.1.9" targetFramework="xamarinios10"

"Microsoft.Bcl.Build" version="1.0.14" targetFramework="xamarinios10"

"Microsoft.Bcl.Compression" version="3.9.85" targetFramework="xamarinios10"

"Microsoft.Net.Http" version="2.2.28" targetFramework="xamarinios10"

"Newtonsoft.Json" version="6.0.7" targetFramework="xamarinios10"

"Rx-Core" version="2.2.5" targetFramework="xamarinios10"

"Rx-Interfaces" version="2.2.5" targetFramework="xamarinios10"

"Rx-Linq" version="2.2.5" targetFramework="xamarinios10"

"Rx-Main" version="2.2.5" targetFramework="xamarinios10"

"Rx-PlatformServices" version="2.2.5" targetFramework="xamarinios10"

"SQLite.Net.Async-PCL" version="2.4.1" targetFramework="xamarinios10"

"SQLite.Net-PCL" version="2.4.1" targetFramework="xamarinios10"

"Xam.Plugin.Connectivity" version="1.0.0.3" targetFramework="xamarinios10"

"Xamarin.Forms" version="1.3.0.6292" targetFramework="xamarinios10"

"Xamarin.Forms.Maps" version="1.3.0.6292" targetFramework="xamarinios10"


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>