From cd279c2bae266461ef73783d9934ecfa8acea5db Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Wed, 14 Feb 2018 15:42:12 +0000 Subject: [PATCH] [Xamarin.Android.Build.Tasks] Stop designtime designer being deleted. Fixes #1286 We have a number of problems with our DesignTime build system. The main one which this PR addresses is the designer file is deleted by `IncrementalClean` AND `CoreClean`. This them completely messes up the DesignTime system since it can no longer find the file. So what we should be doing is making sure we don't tell the build system about the designer file ;). We do this by not writing the path to the `$(CleanFile)`. --- .../ImportAfter/Xamarin.Android.Windows.targets | 2 +- .../AndroidUpdateResourcesTest.cs | 6 +++--- .../Xamarin.Android.Common.targets | 5 ----- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Common/ImportAfter/Xamarin.Android.Windows.targets b/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Common/ImportAfter/Xamarin.Android.Windows.targets index 7b16e67727c..623dda9c056 100644 --- a/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Common/ImportAfter/Xamarin.Android.Windows.targets +++ b/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Common/ImportAfter/Xamarin.Android.Windows.targets @@ -15,7 +15,7 @@ Copyright (C) 2014 Xamarin. All rights reserved. - + -