summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2016-04-06 10:32:29 -0700
committerJason Smith <jason.smith@xamarin.com>2016-04-06 10:32:29 -0700
commitb7251aa6f9315a8873aa4bbaa9ee147c6ee18e7b (patch)
treee41e59a08b6c10c97f294a3f9bb94848cad69949 /Xamarin.Forms.Platform.WinRT
parentfae68e21b903d2a771bce21eeff81bb519d4d0e5 (diff)
downloadxamarin-forms-b7251aa6f9315a8873aa4bbaa9ee147c6ee18e7b.tar.gz
xamarin-forms-b7251aa6f9315a8873aa4bbaa9ee147c6ee18e7b.tar.bz2
xamarin-forms-b7251aa6f9315a8873aa4bbaa9ee147c6ee18e7b.zip
Warnings as Errors in product projects
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT')
-rw-r--r--Xamarin.Forms.Platform.WinRT/Xamarin.Forms.Platform.WinRT.csproj4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/Xamarin.Forms.Platform.WinRT.csproj b/Xamarin.Forms.Platform.WinRT/Xamarin.Forms.Platform.WinRT.csproj
index e5793114..266d91e9 100644
--- a/Xamarin.Forms.Platform.WinRT/Xamarin.Forms.Platform.WinRT.csproj
+++ b/Xamarin.Forms.Platform.WinRT/Xamarin.Forms.Platform.WinRT.csproj
@@ -36,6 +36,8 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <NoWarn>1998;0168;0169;0067;0618</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -44,6 +46,8 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <NoWarn>1998;0168;0169;0067;0618</NoWarn>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .NET Framework is automatically included -->