From 2ab608c6742739e183acc803d74d1c8173f72438 Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Wed, 8 Mar 2017 13:29:31 +0000 Subject: [PATCH] [Xamarin.Android.Build.Tasks] detect OS changes. If a user shares a project between Mac and Windows they will probably get some errors. This is mainly because the various cache's that are in place will contain invalid paths. This commit adds the $(OS) to the build.props file which will allow us to detect if the OS changed. --- src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets index 81a1f752d53..8119fe34ff5 100755 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets @@ -999,6 +999,7 @@ because xbuild doesn't support framework reference assemblies. <_PropertyCacheItems Include="AndroidUseLatestPlatformSdk=$(AndroidUseLatestPlatformSdk)" /> <_PropertyCacheItems Include="TargetFrameworkVersion=$(TargetFrameworkVersion)" /> <_PropertyCacheItems Include="AndroidCreatePackagePerAbi=$(AndroidCreatePackagePerAbi)" /> + <_PropertyCacheItems Include="OS=$(OS)" />