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 /ICSharpCode.Decompiler | |
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 'ICSharpCode.Decompiler')
-rw-r--r-- | ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj b/ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj index 2a0a5b63..b00bed97 100644 --- a/ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj +++ b/ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj @@ -42,6 +42,14 @@ <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> <DefineConstants>TRACE</DefineConstants> </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0618;0219;0414</NoWarn> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0618;0219;0414</NoWarn> + </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="System.Core" /> |