diff options
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj | 10 |
1 files changed, 10 insertions, 0 deletions
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" /> |