summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2016-04-06 23:03:59 -0700
committerJason Smith <jason.smith@xamarin.com>2016-04-06 23:03:59 -0700
commita0f0b3954ed73c891e52f10ab21243b8473da72a (patch)
treefa013ea8f1cdcfe58438dafac8510f41e36dc25a /Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj
parente3191821bae99fb52d32644566cd14a8f496e36a (diff)
downloadxamarin-forms-a0f0b3954ed73c891e52f10ab21243b8473da72a.tar.gz
xamarin-forms-a0f0b3954ed73c891e52f10ab21243b8473da72a.tar.bz2
xamarin-forms-a0f0b3954ed73c891e52f10ab21243b8473da72a.zip
Enable warnings as errors in tests
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj')
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj7
1 files changed, 7 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj b/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj
index 2846ddc0..7b53147f 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj
+++ b/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj
@@ -22,6 +22,8 @@
<DefineConstants>TRACE;DEBUG;__IOS__;UITEST</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <NoWarn>0114;0108;4014;1998;0649;0618;0169;0168;0219</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -30,6 +32,8 @@
<DefineConstants>TRACE;__IOS__;UITEST</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <NoWarn>0114;0108;4014;1998;0649;0618;0169;0168;0219</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Turkey|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
@@ -39,6 +43,9 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <NoWarn>0114;0108;4014;1998;0649;0618;0169;0168;0219</NoWarn>
+ <WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />