diff options
author | kingces95 <kingces95@users.noreply.github.com> | 2016-04-06 10:32:29 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-04-06 10:32:29 -0700 |
commit | b7251aa6f9315a8873aa4bbaa9ee147c6ee18e7b (patch) | |
tree | e41e59a08b6c10c97f294a3f9bb94848cad69949 /Xamarin.Forms.Platform | |
parent | fae68e21b903d2a771bce21eeff81bb519d4d0e5 (diff) | |
download | xamarin-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')
-rw-r--r-- | Xamarin.Forms.Platform/Xamarin.Forms.Platform.csproj | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform/Xamarin.Forms.Platform.csproj b/Xamarin.Forms.Platform/Xamarin.Forms.Platform.csproj index 3b4e32c5..31986952 100644 --- a/Xamarin.Forms.Platform/Xamarin.Forms.Platform.csproj +++ b/Xamarin.Forms.Platform/Xamarin.Forms.Platform.csproj @@ -26,6 +26,7 @@ <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> @@ -34,6 +35,7 @@ <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> </PropertyGroup> <ItemGroup> <Compile Include="Xamarin.Forms.Platform.cs" /> |