From a95123d811622c06fa3b085fae167ef3a4914262 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Thu, 18 Jan 2018 16:16:36 -0500 Subject: [PATCH] Ensure *.CopyComplete file gets removed on Clean The @(CopyUpToDateMarker) file is not added to @(FileWrites), so it gets left behind after a Clean. https://bugzilla.xamarin.com/show_bug.cgi?id=58174 - This is a Xamarin.Android bug, but the same issue is reproducible with regular .net projects too --- src/Tasks/Microsoft.Common.CurrentVersion.targets | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Tasks/Microsoft.Common.CurrentVersion.targets b/src/Tasks/Microsoft.Common.CurrentVersion.targets index 5cb6b90a804..b108aed6fbc 100644 --- a/src/Tasks/Microsoft.Common.CurrentVersion.targets +++ b/src/Tasks/Microsoft.Common.CurrentVersion.targets @@ -4308,7 +4308,9 @@ Copyright (C) Microsoft Corporation. All rights reserved. input to projects that reference this one. --> + Condition="'@(ReferencesCopiedInThisBuild)' != ''"> + +