Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 53285 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 20291 [details]
I can't repeat this in an new/empty app. It only happens in the business app I am supporting.
Warning These reference conflicts are listed in the build log when log verbosity is set to detailed. SmartwebsCrossPlatform.Android C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets 1820
In the detailed build log I get a lot of project items using mscorlib 220.127.116.11 but only one that uses mscorlib 18.104.22.168:
2> References which depend on "mscorlib, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089" .
2> Project file item includes which caused reference "D:\dev\smartwebs\xp\packages\Xamarin.Forms.126.96.36.199\lib\MonoAndroid10\FormsViewGroup.dll".
2> Xamarin.Forms.Core, Version=188.8.131.52, Culture=neutral, processorArchitecture=MSIL
2> Xamarin.Forms.Maps.Android, Version=184.108.40.206, Culture=neutral, processorArchitecture=MSIL
2> FormsViewGroup, Version=220.127.116.11, Culture=neutral, processorArchitecture=MSIL
2> Xamarin.Forms.Platform, Version=18.104.22.168, Culture=neutral, processorArchitecture=MSIL
2> Xamarin.Forms.Xaml, Version=22.214.171.124, Culture=neutral, processorArchitecture=MSIL
2> Xamarin.Forms.Maps, Version=126.96.36.199, Culture=neutral, processorArchitecture=MSIL
2> Xamarin.Forms.Platform.Android, Version=188.8.131.52, Culture=neutral, processorArchitecture=MSIL
I tried to create a new project but the error appears again when I add all source files.
I can't add sources by one because they rely on each other heavily.
Is there any way you could provide a copy of the app? You can email to my address, or post here a as a private comment.
The conflict seems to happen because Mono.Android.dll v1.0 has a reference to mscorlib 184.108.40.206
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll
Whereas the 220.127.116.11 version comes from a PCL profile / netstandard:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.5\Profile\Profile7\mscorlib.dll
I'm not able to reproduce this currently. Can you provide a sample project?
Possibly caused by https://github.com/JamesNK/Newtonsoft.Json/issues/1264
Let's start with System.Net.Http conflicts. Repeatable with the attached project.
Created attachment 25436 [details]
minimal reproducible for the System.Net.Http conflict