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.iOS | |
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.iOS')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.Classic.csproj | 10 | ||||
-rw-r--r-- | Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.Classic.csproj b/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.Classic.csproj index 7291c8f2..18f60a4e 100644 --- a/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.Classic.csproj +++ b/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.Classic.csproj @@ -24,6 +24,8 @@ <ConsolePause>false</ConsolePause> <MtouchDebug>true</MtouchDebug> <CodesignKey>iPhone Developer</CodesignKey> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0169;0114;0108;0105;0618;0414;0649</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>none</DebugType> @@ -35,6 +37,8 @@ <ConsolePause>false</ConsolePause> <CodesignKey>iPhone Developer</CodesignKey> <DefineConstants>TRACE;__IOS__;__MOBILE__;</DefineConstants> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0169;0114;0108;0105;0618;0414;0649</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Turkey|AnyCPU'"> <DebugSymbols>true</DebugSymbols> @@ -45,6 +49,12 @@ <UseVSHostingProcess>false</UseVSHostingProcess> <ErrorReport>prompt</ErrorReport> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0169;0114;0108;0105;0618;0414;0649</NoWarn> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AppStore|AnyCPU'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0169;0114;0108;0105;0618;0414;0649</NoWarn> </PropertyGroup> <ItemGroup> <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs"> diff --git a/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj b/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj index 5afb3b33..38f98422 100644 --- a/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj +++ b/Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj @@ -19,6 +19,8 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0108;0114;0618;0414;0649</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>full</DebugType> @@ -27,6 +29,8 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0108;0114;0618;0414;0649</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Turkey|AnyCPU'"> <DebugSymbols>true</DebugSymbols> @@ -37,6 +41,12 @@ <UseVSHostingProcess>false</UseVSHostingProcess> <ErrorReport>prompt</ErrorReport> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0108;0114;0618;0414;0649</NoWarn> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AppStore|AnyCPU'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>0108;0114;0618;0414;0649</NoWarn> </PropertyGroup> <ItemGroup> <Reference Include="System" /> |