summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.Design
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2016-04-07 06:08:17 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-04-07 06:08:17 (GMT)
commit26604911bf6e412aa35a36236d04eded8d7bf17c (patch)
tree23ec5cbd6384f698baf014751a7a1999d9910650 /Xamarin.Forms.Xaml.Design
parenta0f0b3954ed73c891e52f10ab21243b8473da72a (diff)
downloadxamarin-forms-26604911bf6e412aa35a36236d04eded8d7bf17c.zip
xamarin-forms-26604911bf6e412aa35a36236d04eded8d7bf17c.tar.gz
xamarin-forms-26604911bf6e412aa35a36236d04eded8d7bf17c.tar.bz2
Enable warnings as errors in XAML
Diffstat (limited to 'Xamarin.Forms.Xaml.Design')
-rw-r--r--Xamarin.Forms.Xaml.Design/Xamarin.Forms.Xaml.Design.csproj2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.Design/Xamarin.Forms.Xaml.Design.csproj b/Xamarin.Forms.Xaml.Design/Xamarin.Forms.Xaml.Design.csproj
index 88cd211..da99b19 100644
--- a/Xamarin.Forms.Xaml.Design/Xamarin.Forms.Xaml.Design.csproj
+++ b/Xamarin.Forms.Xaml.Design/Xamarin.Forms.Xaml.Design.csproj
@@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup Condition=" '$(OS)' != 'Unix' ">
<Reference Include="Microsoft.Windows.Design.Extensibility, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">