diff options
author | kingces95 <kingces95@users.noreply.github.com> | 2016-04-06 23:03:59 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-04-06 23:03:59 -0700 |
commit | a0f0b3954ed73c891e52f10ab21243b8473da72a (patch) | |
tree | fa013ea8f1cdcfe58438dafac8510f41e36dc25a /Xamarin.Forms.Controls | |
parent | e3191821bae99fb52d32644566cd14a8f496e36a (diff) | |
download | xamarin-forms-a0f0b3954ed73c891e52f10ab21243b8473da72a.tar.gz xamarin-forms-a0f0b3954ed73c891e52f10ab21243b8473da72a.tar.bz2 xamarin-forms-a0f0b3954ed73c891e52f10ab21243b8473da72a.zip |
Enable warnings as errors in tests
Diffstat (limited to 'Xamarin.Forms.Controls')
-rw-r--r-- | Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj b/Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj index 53565c96..e653509f 100644 --- a/Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj +++ b/Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj @@ -27,6 +27,8 @@ <DefineConstants>TRACE;DEBUG;PERF;APP</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0114;0108;0109;4014;1998;0649;0618;0169;0472;0414;0168;0219;0429</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> @@ -35,6 +37,8 @@ <DefineConstants>TRACE;APP</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0114;0108;0109;4014;1998;0649;0618;0169;0472;0414;0168;0219;0429</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Turkey|AnyCPU'"> <DebugSymbols>true</DebugSymbols> @@ -46,6 +50,8 @@ <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <WarningLevel>4</WarningLevel> <Optimize>false</Optimize> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0114;0108;0109;4014;1998;0649;0618;0169;0472;0414;0168;0219;0429</NoWarn> </PropertyGroup> <ItemGroup> <!-- A reference to the entire .NET Framework is automatically included --> |