Bug 21422 - removing a component does not remove dependent references
Summary: removing a component does not remove dependent references
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Component Store ()
Version: 5.0.1
Hardware: PC Windows
: Normal normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-07-18 02:22 UTC by Pavel Oborin
Modified: 2015-09-15 10:27 UTC (History)
1 user (show)

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


Attachments
New project (41.32 KB, image/png)
2014-07-20 19:43 UTC, Pavel Oborin
Details
adding a component into the project (49.74 KB, image/png)
2014-07-20 19:44 UTC, Pavel Oborin
Details
removing a component (50.34 KB, image/png)
2014-07-20 19:46 UTC, Pavel Oborin
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 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 FIXED

Description Pavel Oborin 2014-07-18 02:22:06 UTC
removing a component from a solution explorer (both by "component edit" and context menu) does not remove dependent references.
That can be reproduced by adding an SQLCipher component to a project and then removing that. The Mono.Data.Sqlcipher reference is still presented.
Comment 1 Mikayla Hutchinson [MSFT] 2014-07-18 12:05:04 UTC
Do you have another example? I can't easily test SqlCipher since it's a paid component.
Comment 2 Pavel Oborin 2014-07-20 19:43:06 UTC
Created attachment 7431 [details]
New project

just freshly created project for android
Comment 3 Pavel Oborin 2014-07-20 19:44:56 UTC
Created attachment 7432 [details]
adding a component into the project

Adding an RX (reactive extension) component to a newly created projects results in adding RX assemblies to references.
Comment 4 Pavel Oborin 2014-07-20 19:46:43 UTC
Created attachment 7433 [details]
removing a component

removing a component that has been added just few seconds ago and never been used result in removing a component from 'Components folder' but keeping all assemblies in references.
Comment 5 Pavel Oborin 2014-07-20 19:47:31 UTC
yes, I was able to reproduce that with RX component. See attachments
Comment 6 xamarin-release-manager 2015-09-15 06:27:24 UTC
Fixed in version 5.11.0.94 (master)

Author: Matt Ward
Commit: b1e90810e03a2044e5e3ca43520cb69806e25f22 (xamarin/md-addins)
Included in Commit: bc005451c4be06269da39f9d66f70824a68bff97 (mono/monodevelop)
Comment 7 xamarin-release-manager 2015-09-15 10:27:00 UTC
Fixed in version 5.10.0.775 (cycle6)

Author: Matt Ward
Commit: 58c79ae8d4aadf02897580a28577e7d8f598aa4d (xamarin/md-addins)
Included in Commit: 1e82ac68067a5488152e887634ec96b5bc6595f5 (mono/monodevelop)