diff options
author | kingces95 <kingces95@users.noreply.github.com> | 2016-04-06 23:08:17 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-04-06 23:08:17 -0700 |
commit | 26604911bf6e412aa35a36236d04eded8d7bf17c (patch) | |
tree | 23ec5cbd6384f698baf014751a7a1999d9910650 /Xamarin.Forms.Build.Tasks | |
parent | a0f0b3954ed73c891e52f10ab21243b8473da72a (diff) | |
download | xamarin-forms-26604911bf6e412aa35a36236d04eded8d7bf17c.tar.gz xamarin-forms-26604911bf6e412aa35a36236d04eded8d7bf17c.tar.bz2 xamarin-forms-26604911bf6e412aa35a36236d04eded8d7bf17c.zip |
Enable warnings as errors in XAML
Diffstat (limited to 'Xamarin.Forms.Build.Tasks')
-rw-r--r-- | Xamarin.Forms.Build.Tasks/Xamarin.Forms.Build.Tasks.csproj | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Xamarin.Forms.Build.Tasks/Xamarin.Forms.Build.Tasks.csproj b/Xamarin.Forms.Build.Tasks/Xamarin.Forms.Build.Tasks.csproj index 0808dfdf..24ca4680 100644 --- a/Xamarin.Forms.Build.Tasks/Xamarin.Forms.Build.Tasks.csproj +++ b/Xamarin.Forms.Build.Tasks/Xamarin.Forms.Build.Tasks.csproj @@ -20,6 +20,8 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0108;0612;0436;0168;0219</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>full</DebugType> @@ -28,6 +30,8 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0108;0612;0436;0168;0219</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Turkey|AnyCPU'"> <DebugSymbols>true</DebugSymbols> @@ -37,6 +41,8 @@ <PlatformTarget>AnyCPU</PlatformTarget> <ErrorReport>prompt</ErrorReport> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0108;0612;0436;0168;0219</NoWarn> </PropertyGroup> <ItemGroup> <Reference Include="System" /> |