Bug 53455 - Multiple Projects with same ProjectGUID
Summary: Multiple Projects with same ProjectGUID
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Xamarin.Forms ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 15.3
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-03-17 14:57 UTC by Thorsten Maack
Modified: 2017-07-13 12:57 UTC (History)
8 users (show)

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


Attachments
VisualStudio 2015 version information (2.79 KB, text/plain)
2017-03-17 14:57 UTC, Thorsten Maack
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 on Developer Community 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:
VERIFIED FIXED

Description Thorsten Maack 2017-03-17 14:57:24 UTC
Created attachment 20435 [details]
VisualStudio 2015 version information

DESCRIPTION:
When creating a new "Class Library (Xamarin.Forms)" project with belonging new solution the created project always has the same GUID: 67F9D3A8-F71E-4428-913F-C37AE82CDB24

You can also find some public repositories referring this GUID.


VisualStudio version info: see attachment


REPRODUCE:
- start Visual Studio 2015
- on "start page" select "New Project..."
- select "Installed > Templates > Visual C# > Cross-Platform > Class Library (Xamarin.Forms)"
When inspecting the created *.csproj file or the *.sln file, the project always gets the same GUID:
<ProjectGuid>{67F9D3A8-F71E-4428-913F-C37AE82CDB24}</ProjectGuid>


PROBLEM WAS DECTECTED THIS WAY:
- we have a master solution with a PCL UI project.
- other sub solutions shall refer to the projects of the master solution (done by importing those projects into the sub solution
- when using those sub solutions, the sub solution detected the duplicat GUIDs and changed the GUID of the master-project.
- when using the master solution, the GUID of the master-project was changed back again.
- during check in into GIT these GUID changes were observed again and again.

WORKAROUND:
- create the project and solution as described above
- delete the project in the solution
- delete the project folder in the file system
- create the project within the solution again via "Add > New Project..."