Bug 42622 - Conflicts between different versions of the same dependent Assembly
Summary: Conflicts between different versions of the same dependent Assembly
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 7.1 (C9)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2016-07-18 10:19 UTC by Robbert de Wilde
Modified: 2016-07-18 13:31 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Robbert de Wilde 2016-07-18 10:19:20 UTC
Hi,

I'm using a Forms Example that I got from IceLink, a software development kit that provides webRTC support to almost any OS. I would post this on their helpdesk but I think this is a generic Visual Studio/android problem. Granted if I start a fresh cross-platform project I don't get this error.

Anyway I hope someone can help me. And I apologize if I put this in the wrong topic.

Error:

1>------ Build started: Project: Xamarin.Forms.Conference.WebRTC.Droid, Configuration: Debug Any CPU ------
1>  Xamarin.Forms.Conference.WebRTC.Droid -> W:\Xamarin\XamarinFormsExample\Xamarin.Forms.Conference.WebRTC.Droid\bin\Debug\Xamarin.Forms.Conference.WebRTC.Droid.dll
1>  Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.5.0" [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll] to solve conflict and get rid of warning.
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2221,3): warning MSB3247: Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="mscorlib" culture="neutral" publicKeyToken="b77a5c561934e089" /><bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /></dependentAssembly></assemblyBinding>
2>------ Skipped Deploy: Project: Xamarin.Forms.Conference.WebRTC.Droid, Configuration: Debug Any CPU ------
2>Project not selected to build for this solution configuration 
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 1 skipped ==========

I have googled the problem but didn't seem to get very far...

Any help is much appreciated.

Regards,
robbert
Comment 1 Robbert de Wilde 2016-07-18 13:31:07 UTC
I appoligize. I made a fresh cross-platform project and added the stuff i needed that was in the example. Now it works without issues.