Bug 38071 - [XVS 3.11] Intermittent "An equivalent project ... is already present in the project collection" error when attempting to load Xamarin.iOS project
Summary: [XVS 3.11] Intermittent "An equivalent project ... is already present in the ...
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- minor
Target Milestone: ---
Assignee: Bugzilla
URL:
: 34198 36815 ()
Depends on:
Blocks:
 
Reported: 2016-01-26 20:19 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2016-08-11 16:40 UTC (History)
5 users (show)

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


Attachments
All individual results from the regression testing (3.79 KB, text/plain)
2016-01-26 20:19 UTC, Brendan Zagaeski (Xamarin Team, assistant)
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:
RESOLVED FIXED

Description Brendan Zagaeski (Xamarin Team, assistant) 2016-01-26 20:19:58 UTC
Created attachment 14746 [details]
All individual results from the regression testing

[XVS 3.11] Intermittent "An equivalent project ... is already present in the project collection" error when attempting to load Xamarin.iOS project




## Regression status: regression somewhere between the last release of Cycle 4 and the last release of Cycle 5


As demonstrated by the results below, this problem does _not_ depend on the build host connection.



### BAD: XamarinVS 4.0.1.74 (9f3b5a0) + VS 2013 Update 5 + Windows 10

#### Build host paired (Xamarin.iOS 9.4.1.23 (7f1cef9))

18/50 reload attempts failed.

#### NO build host paired

21/50 reload attempts failed.



### BAD: XamarinVS 3.11.1594.0 (a06d6d5) + VS 2013 Update 5 + Windows 10

#### Build host paired (Xamarin.iOS 9.1.0.27 (1f068b4))

15/50 reload attempts failed.

### NO build host paired

16/50 reload attempts failed.



### GOOD: XamarinVS 3.9.547.0 (20fd2f0) + VS 2013 Update 5 + Windows 10

#### Build host paired (Xamarin.iOS 8.9.1.3 (f7736a4))

0/50 reload attempts failed.

#### NO build host paired

0/50 reload attempts failed.




## Steps to test

1. Create a new "Visual C# -> iOS - iPhone -> Single View App (iPhone)" app.

2. Right click the project in the Solution Explorer and select "Unload Project"

3. Click the "Solution" item in the Solution Explorer to temporarily de-select the project.

4. Right click the project again and select "Reload Project".


Repeat steps 4-5 on each FAILED attempt, and repeat steps 3-5 on each SUCCESSFUL attempt.




## Error message for failed attempts

An equivalent project (a project with the same global properties and tools version) is already present in the project collection, with the path "C:\source\UnifiedSingleViewIphone1\UnifiedSingleViewIphone1\UnifiedSingleViewIphone1.csproj". To load an equivalent into this project collection, unload this project first.
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2016-01-26 20:23:00 UTC
*** Bug 36815 has been marked as a duplicate of this bug. ***
Comment 3 Brendan Zagaeski (Xamarin Team, assistant) 2016-01-26 20:33:58 UTC
*** Bug 34198 has been marked as a duplicate of this bug. ***
Comment 6 Daniel Cazzulino 2016-08-11 16:40:25 UTC
Fixed in version 99.0.0.3343 (master)

Commit: 8290719c42b8642c7685df364e93644e68dbdb4b (xamarin/XamarinVS)