summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Marinho <me@ruimarinho.net>2017-04-12 17:10:18 +0100
committerRui Marinho <me@ruimarinho.net>2017-04-12 17:16:54 +0100
commit93060b3d60c87973c7164aae2f9db27b2a27c152 (patch)
treec6440090f8de37fd093def569e886c3ae7a426d7
parentb9a94f4b87f2d89a4eda990910f3a69c073c7c95 (diff)
downloadxamarin-forms-93060b3d60c87973c7164aae2f9db27b2a27c152.tar.gz
xamarin-forms-93060b3d60c87973c7164aae2f9db27b2a27c152.tar.bz2
xamarin-forms-93060b3d60c87973c7164aae2f9db27b2a27c152.zip
[UITest]Fix release build
-rw-r--r--Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj2
-rw-r--r--Xamarin.Forms.Core.macOS.UITests/Xamarin.Forms.Core.macOS.UITests.csproj1
2 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj b/Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj
index 972ac120..df9c7c29 100644
--- a/Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj
+++ b/Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj
@@ -27,7 +27,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE;UITEST</DefineConstants>
+ <DefineConstants>TRACE;__WINDOWS__;UITEST</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
diff --git a/Xamarin.Forms.Core.macOS.UITests/Xamarin.Forms.Core.macOS.UITests.csproj b/Xamarin.Forms.Core.macOS.UITests/Xamarin.Forms.Core.macOS.UITests.csproj
index d18ed0a9..6f0a36ed 100644
--- a/Xamarin.Forms.Core.macOS.UITests/Xamarin.Forms.Core.macOS.UITests.csproj
+++ b/Xamarin.Forms.Core.macOS.UITests/Xamarin.Forms.Core.macOS.UITests.csproj
@@ -25,6 +25,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
+ <DefineConstants>__MACOS__;UITEST</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />