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

Microsoft.Practices.Unity - Inconsistent Version Numbers

$
0
0

I'm getting a build error when attempting to use XLabs.IoC.Unity. It's stating that:

CSC: error CS1705: Assembly 'XLabs.Ioc.Unity, Version=2.0.5679.29829, Culture=neutral, PublicKeyToken=null' references 'Microsoft.Practices.Unity, Version=3.5.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version number than imported assembly 
' Microsoft.Practices.Unity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
 AppDelegate.cs(33,19): error CS0012: The type 'Microsoft.Practices.Unity.IUnityContainer' is defined in an assembly that is not referenced. Consider adding a reference to assembly 'Microsoft.Practices.Unity, Version=3.5.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' /Users/richardseviora/Projects/SweatRecordMobile/iOS/../packages/XLabs.IoC.Unity.2.0.5679/lib/portable-net45+netcore45+wp8+MonoAndroid1+MonoTouch1/XLabs.Ioc.Unity.dll (Location of the symbol related to previous error)

What it looks like is that it's somehow popping in an older version of Unity. When I review the reference version number it reveals 3.5.0.0 even though the path includes the 3.5.1.* version.

I don't know where this interception is taking place. I've tried cleaning the project, deleting the package from my project folder and re-adding it, and to no avail.

How can I fix this?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



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