Bug 52540 - New empty `XbdMerge` folder is left behind after cleaning a project which references packages which rely on Xamarin.Build.Download
Summary: New empty `XbdMerge` folder is left behind after cleaning a project which ref...
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 7.1 (C9)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2017-02-15 20:58 UTC by Peter Collins
Modified: 2017-05-17 14:01 UTC (History)
3 users (show)

Tags:
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 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 Peter Collins 2017-02-15 20:58:05 UTC
This is a relatively trivial issue, but an assert for one of my 'Clean' tests is now failing for a sample which has recently been updated to Support / Play Services packages which use Xamarin.Build.Download. The specific sample in question here can be found below:

https://github.com/xamarin/monodroid-samples/tree/master/android5.0/GoogleIO2014Master

## Expected Behavior ##
After building and then cleaning a project, both obj and bin folders should be empty. 

## Actual Behavior ##
After building and cleaning a project, a new empty folder `$(IntermidateOutputDir)/XbdMerge` is left behind:

> /Users/xamarinqa/QABot/data/lanes/4015/0ff0aec0/source/monodroid-samples/android5.0/GoogleIO2014Master/GoogleIO2014Master/obj/Debug/XbdMerge
## Environment ##
Operating System: Mac OS X 10.11
Repo Name: monodroid.git
Branch Name: cycle9
Build Revision: 0ff0aec02151df23aa7da394e7e4a21395711ef1
Comment 1 Rolf Bjarne Kvinge [MSFT] 2017-05-16 13:42:11 UTC
This looks related: https://github.com/xamarin/XamarinComponents/commit/2eb26fcdf9d34decc5474231d88c1929b756a020
Comment 2 Jon Dick 2017-05-17 14:01:15 UTC
Yeah that commit should fix this.  Please try at least Xamarin.Build.Download v0.4.4 to see if it clears up.