Ffimageloading: Found conflicts between diffrent versions of system.Numerics

Created on 18 May 2019  路  6Comments  路  Source: luberda-molinet/FFImageLoading

Hi, when I add your nuget package of ffImageLoading.Forms I got this warning:

Severity    Code    Description Project File    Line    Suppression State
Warning     Found conflicts between different versions of "System.Numerics" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.   

I'm using it with Xamarin Forms 4 pre-release

more info needed

Most helpful comment

Updated Developer Community link here that's under investigation.

I'm also seeing a warning message for System.IO.Compression in my Xamarin.Forms 4.3.0.991211 project.

image

All 6 comments

I'll definitely need some more info.

Hi, no problem, what information you need?
I just create a "blank" projet on Visual Studio 2019,
update Xamarin Forms to 4.0.0.394984-pre10,
add package Xamarin.FFImageLoading.Forms,
add FFImageLoading.Forms.Platform.CachedImageRenderer.Init(); before global::Xamarin.Forms.Forms.Init();

and build.

there the logs I found when I do build with log verbosity set to detailed:

1>  There was a conflict between "System.Numerics, Version=2.0.5.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
1>      "System.Numerics, Version=2.0.5.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" was chosen because it was primary and "System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" was not.
1>      References which depend on "System.Numerics, Version=2.0.5.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" [C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.Numerics.dll].
1>          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.Numerics.dll
1>            Project file item includes which caused reference "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.Numerics.dll".
1>              System.Numerics
1>              C:\Users\JFDionne\.nuget\packages\xamarin.essentials\1.1.0\lib\xamarinios10\Xamarin.Essentials.dll
1>          C:\Users\JFDionne\.nuget\packages\xamarin.essentials\1.1.0\lib\xamarinios10\Xamarin.Essentials.dll
1>            Project file item includes which caused reference "C:\Users\JFDionne\.nuget\packages\xamarin.essentials\1.1.0\lib\xamarinios10\Xamarin.Essentials.dll".
1>              C:\Users\JFDionne\.nuget\packages\xamarin.essentials\1.1.0\lib\xamarinios10\Xamarin.Essentials.dll
1>      References which depend on "System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" [C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll].
1>          C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
1>            Project file item includes which caused reference "C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll".
1>              C:\Users\JFDionne\.nuget\packages\xamarin.ffimageloading\2.4.10.972\lib\Xamarin.iOS10\FFImageLoading.dll
1>              C:\Users\JFDionne\.nuget\packages\xamarin.ffimageloading\2.4.10.972\lib\Xamarin.iOS10\FFImageLoading.Platform.dll
1>              C:\Users\JFDionne\.nuget\packages\xamarin.ffimageloading.forms\2.4.10.972\lib\Xamarin.iOS10\FFImageLoading.Forms.Platform.dll
1>              C:\Users\JFDionne\.nuget\packages\xamarin.ffimageloading.forms\2.4.10.972\lib\Xamarin.iOS10\FFImageLoading.Forms.dll
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2114,5): warning MSB3277: Found conflicts between different versions of "System.Numerics" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.

I don't think the warning Found conflicts between different versions of "System.Numerics" that could not be resolved is caused by FFImageLoading. I'm getting this error with a brand new Xamarin project without FFImageLoading. Ended up on this issue when I searched for the warning message.

see also system.numerics different versions c# xamarin iOS

yes, I get it too... for iOs project on Xamarin.Forms 4+ after updating today...

image

Updated Developer Community link here that's under investigation.

I'm also seeing a warning message for System.IO.Compression in my Xamarin.Forms 4.3.0.991211 project.

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ManhDucIT picture ManhDucIT  路  22Comments

softsan picture softsan  路  32Comments

jorgenstorlie picture jorgenstorlie  路  28Comments

LeoJHarris picture LeoJHarris  路  22Comments

vlkam picture vlkam  路  21Comments