From 48cfc8a73b5549bbddad0c19f464a6b3296cb3bb Mon Sep 17 00:00:00 2001 From: Trevor Balcom Date: Tue, 3 Apr 2018 11:38:45 -0400 Subject: [PATCH] Reverts IsXamarinForms changes in Playground (#2754) * Reverts MvvmCross\Projects\Directory.build.props IsXamarinForms changes because it was causing the Xamarin.Forms library to be imported into Playground.Droid. Adds to import Xamarin.Forms for Playground.Forms.* projects. * Moving Xamarin Forms Package Reference into separate targets file - allows for XF version to be changed in one place --- Directory.build.props | 4 ---- Directory.build.targets | 2 ++ Projects/Directory.build.props | 5 ----- .../Playground.Forms.Droid/Playground.Forms.Droid.csproj | 1 + .../Playground.Forms.Mac/Playground.Forms.Mac.csproj | 6 +----- .../Playground.Forms.UI/Playground.Forms.UI.csproj | 1 + .../Playground.Forms.Uwp/Playground.Forms.Uwp.csproj | 1 + .../Playground.Forms.Wpf/Playground.Forms.Wpf.csproj | 1 + .../Playground.Forms.iOS/Playground.Forms.iOS.csproj | 1 + XamarinForms.targets | 5 +++++ 10 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 XamarinForms.targets diff --git a/Directory.build.props b/Directory.build.props index 1753b3704..385877195 100644 --- a/Directory.build.props +++ b/Directory.build.props @@ -35,8 +35,4 @@ - - - - diff --git a/Directory.build.targets b/Directory.build.targets index 54361fba6..0b144eb8a 100644 --- a/Directory.build.targets +++ b/Directory.build.targets @@ -38,4 +38,6 @@ + + \ No newline at end of file diff --git a/Projects/Directory.build.props b/Projects/Directory.build.props index 9a907c9cf..fa8596e2d 100644 --- a/Projects/Directory.build.props +++ b/Projects/Directory.build.props @@ -12,10 +12,5 @@ AnyCPU full - $(MSBuildProjectName.Contains('.Forms')) - - - - \ No newline at end of file diff --git a/Projects/Playground/Playground.Forms.Droid/Playground.Forms.Droid.csproj b/Projects/Playground/Playground.Forms.Droid/Playground.Forms.Droid.csproj index fa22aa32b..ee7daadb0 100644 --- a/Projects/Playground/Playground.Forms.Droid/Playground.Forms.Droid.csproj +++ b/Projects/Playground/Playground.Forms.Droid/Playground.Forms.Droid.csproj @@ -200,5 +200,6 @@ Playground.Forms.UI + \ No newline at end of file diff --git a/Projects/Playground/Playground.Forms.Mac/Playground.Forms.Mac.csproj b/Projects/Playground/Playground.Forms.Mac/Playground.Forms.Mac.csproj index b0817f464..b1fbe7401 100644 --- a/Projects/Playground/Playground.Forms.Mac/Playground.Forms.Mac.csproj +++ b/Projects/Playground/Playground.Forms.Mac/Playground.Forms.Mac.csproj @@ -120,10 +120,6 @@ Playground.Forms.UI - - - 2.5.0.280555 - - + \ No newline at end of file diff --git a/Projects/Playground/Playground.Forms.UI/Playground.Forms.UI.csproj b/Projects/Playground/Playground.Forms.UI/Playground.Forms.UI.csproj index 58e93245c..6d2663805 100644 --- a/Projects/Playground/Playground.Forms.UI/Playground.Forms.UI.csproj +++ b/Projects/Playground/Playground.Forms.UI/Playground.Forms.UI.csproj @@ -13,4 +13,5 @@ + diff --git a/Projects/Playground/Playground.Forms.Uwp/Playground.Forms.Uwp.csproj b/Projects/Playground/Playground.Forms.Uwp/Playground.Forms.Uwp.csproj index 4b7e55627..723f6acda 100644 --- a/Projects/Playground/Playground.Forms.Uwp/Playground.Forms.Uwp.csproj +++ b/Projects/Playground/Playground.Forms.Uwp/Playground.Forms.Uwp.csproj @@ -176,6 +176,7 @@ Playground.Forms.UI +