Bug 54454 - Enhancement: Option to not remove Android SDK/NDK when uninstalling Xamarin Workload from VS2017
Summary: Enhancement: Option to not remove Android SDK/NDK when uninstalling Xamarin W...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Installer ()
Version: 4.4.0 (15.1)
Hardware: PC Windows
: Low enhancement
Target Milestone: ---
Assignee: vga
Depends on:
Reported: 2017-04-04 15:52 UTC by Ben Beckley
Modified: 2017-04-06 18:52 UTC (History)
3 users (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 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:

Description Ben Beckley 2017-04-04 15:52:39 UTC
When uninstalling the Mobile Development with .NET workload for VS2017, the components under that umbrella are also removed. This makes sense in design, but in practice it is less than ideal for some users.

Suppose a user wants to change from a stable to preview/prerelease channel (or vice-versa): when uninstalling their existing VS2017, they will also lose their Android SDK and NDK as a part of that process. And when installing the desired VS2017, they will have to re-download the SDK and NDK again! There is always the option to move the NDK/SDK to another location on disk, but that is assuming the user thinks to do this ahead of time.
Comment 1 Daniel Cazzulino 2017-04-06 17:03:08 UTC
Interesting suggestion. I hope Willow allows this level of control on sub-features.

Comment 2 vga 2017-04-06 18:52:51 UTC
Ben, are you actually seeing the Android SDK being removed?

Those singletons like Android SDK/NDK, Java JDK are not removed at VS uninstall time. So you still see them there after uninstall VS. Please check that.

Also, these really huge packages are cached after installation, so if you happen to uninstall just Xamarin their payloads will still be there. Next time you install a 2nd instance of VS, they wont be re-downloaded but picked up from there.

I'm resolving this for now, but please feel free to re-open if what you see on your system doesn't match the above.