Bug 41060 - Conflicts in New Projects
Summary: Conflicts in New Projects
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.2.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-05-12 16:21 UTC by Reader Man
Modified: 2016-07-15 00:07 UTC (History)
4 users (show)

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


Attachments
Xamarin.Forms v2.0.0.6482.txt (1.45 MB, text/plain)
2016-05-12 16:21 UTC, Reader Man
Details


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 for Bug 41060 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 original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Reader Man 2016-05-12 16:21:10 UTC
Created attachment 15988 [details]
Xamarin.Forms v2.0.0.6482.txt

Hi,
I have VS 2015 update 2.

I created a new solution: Blank App (Xamarin.Forms Portable)
and after it finishes laying out the devices projects.
and checking the Xamarin.Forms that comes with VS 2005 u2, its: v2.0.0.6482

I Compile it with the:
Menu Tools\Options\Projects and Solutions\Build and Run\MSBuild project build output verbosity: Detailed

and without adding any nugets or references, i have conflicts between dlls, as you can search for the string "There was a conflict between" in the attached file:
Xamarin.Forms v2.0.0.6482.txt

Then i went to nuget for the entire solution and updated the "" for all projects to the latest stable version: v2.2.0.31

Then i compiled it, and also got conflicts in dlls, as you can see them in the attached file:
Xamarin.Forms v2.2.0.31.txt

Both files are in the this link:
https://drive.google.com/file/d/0B2xC75mde6w0U1dHWGRfQ3ZvMlE/view?usp=sharing
Comment 1 Paul DiPietro [MSFT] 2016-05-27 16:53:02 UTC
An actual reproduction solution would be helpful here to see what the result is on another machine. Have you tried removing all of the Forms packages, adding them again (preferably with newer versions) and cleaning/rebuilding?
Comment 2 Reader Man 2016-05-27 22:39:04 UTC
Thanks, You can see the test project in this link:
https://drive.google.com/folderview?id=0B2xC75mde6w0WjROUER6ZElaODg&usp=sharing

and if you open the "Output-Build.zip" file, and search  for "There was a conflict", you have at least two of them.

Regards.
Comment 3 E.Z. Hart [MSFT] 2016-07-11 17:06:25 UTC
This appears to be happening because of a reference to MonoAndroid's mscorlib 2.0.5.0 in the default Android project in the "New Project" template.

Still happening as of 2.3.0.107.

I'm not sure this is actually a problem, though. In both cases, the conflict is resolved by the build system and there doesn't seem to be a problem at runtime.