summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.Xamlc
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2016-04-06 23:08:17 -0700
committerJason Smith <jason.smith@xamarin.com>2016-04-06 23:08:17 -0700
commit26604911bf6e412aa35a36236d04eded8d7bf17c (patch)
tree23ec5cbd6384f698baf014751a7a1999d9910650 /Xamarin.Forms.Xaml.Xamlc
parenta0f0b3954ed73c891e52f10ab21243b8473da72a (diff)
downloadxamarin-forms-26604911bf6e412aa35a36236d04eded8d7bf17c.tar.gz
xamarin-forms-26604911bf6e412aa35a36236d04eded8d7bf17c.tar.bz2
xamarin-forms-26604911bf6e412aa35a36236d04eded8d7bf17c.zip
Enable warnings as errors in XAML
Diffstat (limited to 'Xamarin.Forms.Xaml.Xamlc')
-rw-r--r--Xamarin.Forms.Xaml.Xamlc/Xamarin.Forms.Xaml.Xamlc.csproj3
1 files changed, 3 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.Xamlc/Xamarin.Forms.Xaml.Xamlc.csproj b/Xamarin.Forms.Xaml.Xamlc/Xamarin.Forms.Xaml.Xamlc.csproj
index 653f812b..1ac2b944 100644
--- a/Xamarin.Forms.Xaml.Xamlc/Xamarin.Forms.Xaml.Xamlc.csproj
+++ b/Xamarin.Forms.Xaml.Xamlc/Xamarin.Forms.Xaml.Xamlc.csproj
@@ -19,6 +19,7 @@
<Externalconsole>true</Externalconsole>
<Commandlineparameters>-r "../../../Xamarin.Forms.Controls/bin/Debug/" -p "../../../Xamarin.Forms.Xaml.UnitTest/bin/Debug/;/Library/Frameworks/Mono.framework/Versions/3.12.1/lib/mono/4.5;/Library/Frameworks/Mono.framework/Versions/3.12.1/lib/mono/4.5/Facades/" --keep -v 4 -d ../../../Xamarin.Forms.Xaml.UnitTests/bin/Debug/Xamarin.Forms.Xaml.UnitTests.dll</Commandlineparameters>
<AssemblyName>xamlc</AssemblyName>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
@@ -28,12 +29,14 @@
<WarningLevel>4</WarningLevel>
<Externalconsole>true</Externalconsole>
<AssemblyName>xamlc</AssemblyName>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Turkey|AnyCPU' ">
<Optimize>false</Optimize>
<OutputPath>bin\Turkey</OutputPath>
<WarningLevel>4</WarningLevel>
<AssemblyName>Xamarin.Forms.Xaml.Xamlc</AssemblyName>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />