Skip to content

Commit 38cd01f

Browse files
committed
Treat warnings as errors
C'mon! This ain't no amateur hour! :trollface:
1 parent 9b423a8 commit 38cd01f

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

RestSharp.Build/RestSharp.Build.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<DefineConstants>TRACE</DefineConstants>
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>
32+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3233
</PropertyGroup>
3334
<ItemGroup>
3435
<Reference Include="Microsoft.Build.Framework" />

RestSharp.Net4/RestSharp.Net4.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<WarningLevel>4</WarningLevel>
3535
<DocumentationFile>bin\Release\RestSharp.xml</DocumentationFile>
3636
<NoWarn>1591,1573,1658,1584,1574,1572</NoWarn>
37+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3738
</PropertyGroup>
3839
<ItemGroup>
3940
<Reference Include="System" />

RestSharp.Silverlight/RestSharp.Silverlight.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
<WarningLevel>4</WarningLevel>
5050
<DocumentationFile>Bin\Release\RestSharp.Silverlight.xml</DocumentationFile>
5151
<NoWarn>1591,1573,1658,1584,1574,1572</NoWarn>
52+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
5253
</PropertyGroup>
5354
<ItemGroup>
5455
<Reference Include="mscorlib" />

RestSharp.WindowsPhone/RestSharp.WindowsPhone.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<WarningLevel>4</WarningLevel>
4545
<DocumentationFile>Bin\Release\RestSharp.WindowsPhone.xml</DocumentationFile>
4646
<NoWarn>1591,1573,1658,1584,1574,1572</NoWarn>
47+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
4748
</PropertyGroup>
4849
<ItemGroup>
4950
<Reference Include="mscorlib" />

RestSharp/RestSharp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
5858
<DocumentationFile>bin\Release\RestSharp.xml</DocumentationFile>
5959
<NoWarn>1591,1573,1658,1584,1574,1572</NoWarn>
60+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
6061
</PropertyGroup>
6162
<ItemGroup>
6263
<Reference Include="Microsoft.Build.Framework" />

0 commit comments

Comments
 (0)