Bug 27566 - Same Component in multiple projects show missing assemblies after Component is restored
Summary: Same Component in multiple projects show missing assemblies after Component i...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Component Store ()
Version: 5.7
Hardware: PC Windows
: Normal normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2015-03-02 13:39 UTC by Matt Ward
Modified: 2015-03-03 08:02 UTC (History)
1 user (show)

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 for Bug 27566 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:

Description Matt Ward 2015-03-02 13:39:54 UTC
To reproduce:

1) Create a new solution with two Android Application projects.
2) Add a Component (e.g. AndHUD) from Xamarin's Component store to both projects.
3) Close the solution.
4) Delete the Components directory inside the solution just created.
5) Re-open the solution.

Expected result:

Component is restored. All projects show component as restored and assembly references are found.

Actual result:

Component is restored. Only one project shows the component as restored and the references as found. The other project has a red error icon next to it indicating that "Some Component assemblies are not referenced by the project". The project also has a red error icon next to the assembly reference from the Component with the error message "Assembly not found for framework Xamarin.Android v5.0 Support".

Closing and re-opening the solution causes the error icons to disappear.
Comment 1 Sadik Ali 2015-03-03 08:02:05 UTC
I have checked this issue and able to reproduce this behavior with the help of steps given in the bug description.

Screencast: http://www.screencast.com/t/0udjCmjUS
Ide Logs: https://gist.github.com/Arpit360/78f89da55c5997cad32d

Environment Info:

=== Xamarin Studio ===

Version 5.7.2 (build 8)
Installation UUID: 0ab3f31c-da0f-40d3-be27-a8ade9c61903
	Microsoft .NET 4.0.30319.18408
	GTK+ 2.24.22 (MS-Windows theme)
	GTK# 2.12.26

=== Xamarin.Android ===

Version: 4.20.0 (Business Edition)
Android SDK: C:\android-sdk
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: C:\Program Files\Java\jdk1.7.0_71
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode, sharing)

=== Build Information ===

Release ID: 507020008
Git revision: 64a4266f0a82f7558472383d8ae66a526b3b881d
Build date: 2015-02-25 09:09:37-05
Xamarin addins: 1cb443ca2dddd9933d748e035560f06cf9c246bd

=== Operating System ===

Windows 6.1.7601.65536