Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Treat warnings as errors

C'mon! This ain't no amateur hour! :trollface:
  • Loading branch information...
commit 38cd01f6b9bbf248aec537c880b3f30ff79bb8c6 1 parent 9b423a8
@Haacked Haacked authored
View
1  RestSharp.Build/RestSharp.Build.csproj
@@ -29,6 +29,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Build.Framework" />
View
1  RestSharp.Net4/RestSharp.Net4.csproj
@@ -34,6 +34,7 @@
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\RestSharp.xml</DocumentationFile>
<NoWarn>1591,1573,1658,1584,1574,1572</NoWarn>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
View
1  RestSharp.Silverlight/RestSharp.Silverlight.csproj
@@ -49,6 +49,7 @@
<WarningLevel>4</WarningLevel>
<DocumentationFile>Bin\Release\RestSharp.Silverlight.xml</DocumentationFile>
<NoWarn>1591,1573,1658,1584,1574,1572</NoWarn>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib" />
View
1  RestSharp.WindowsPhone/RestSharp.WindowsPhone.csproj
@@ -44,6 +44,7 @@
<WarningLevel>4</WarningLevel>
<DocumentationFile>Bin\Release\RestSharp.WindowsPhone.xml</DocumentationFile>
<NoWarn>1591,1573,1658,1584,1574,1572</NoWarn>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib" />
View
1  RestSharp/RestSharp.csproj
@@ -57,6 +57,7 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\Release\RestSharp.xml</DocumentationFile>
<NoWarn>1591,1573,1658,1584,1574,1572</NoWarn>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Build.Framework" />
Please sign in to comment.
Something went wrong with that request. Please try again.