Bug 59853 - Clean target fails to remove a FileListAbsolute.txt file in d15-5
Summary: Clean target fails to remove a FileListAbsolute.txt file in d15-5
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild (show other bugs)
Version: 8.1 (15.5)
Hardware: All All
: Normal normal
Target Milestone: 15.6
Assignee: Ankit Jain
Depends on:
Reported: 2017-09-29 14:51 UTC by Peter Collins
Modified: 2017-10-12 18:14 UTC (History)
2 users (show)

See Also:
Is this bug a regression?: Yes
Last known good build: d15-4


Description Peter Collins 2017-09-29 14:51:59 UTC
Building and then cleaning a simple forms project is leaving behind a new artifact in d15-5, resulting in a non-empty obj and bin file after invoking clean:

> /obj/Debug/WorkingWithStyles.Android.csproj.FileListAbsolute.txt

On a related note, I should mention again Bug #58174 which is tracking an extra *csproj.CopyComplete which is also not cleaned up appropriately. Both bugs are reproducible on Mac and Windows, and the same repro steps from Bug #58174 apply here:

## Steps to reproduce ##
1) nuget restore WorkingWithStyles/WorkingWithStyles.sln 
2) msbuild /t:SignAndroidPackage WorkingWithStyles/Android/WorkingWithStyles.Android.csproj
3) Take note of content in WorkingWithStyles/Android/obj/Debug/
4) msbuild /t:Clean WorkingWithStyles/Android/WorkingWithStyles.Android.csproj
5) Again take note of content in WorkingWithStyles/Android/obj/Debug/
6) Observe leftover file `WorkingWithStyles.Android.csproj.CopyComplete`

## Environment ##
Operating System: Mac OS X 10.12.3
Repo Name: monodroid
Branch Name: d15-5
Build Revision: 12e1ed307ba15f186f2a2363815a5bf195c41370
Comment 1 dean.ellis 2017-10-03 15:36:37 UTC

FileListAbsolute.txt and .CopyComplete are msbuild file, its not something the android team manages. So this is an msbuild bug.

Note You need to log in before you can comment on or make changes to this bug.