Skip to content

Commit 7693fcd

Browse files
committed
Treat warnings as errors
1 parent 29cd9a0 commit 7693fcd

6 files changed

Lines changed: 6 additions & 0 deletions

File tree

Refresh.Common/Refresh.Common.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
78
</PropertyGroup>
89

910
<ItemGroup>

Refresh.Database/Refresh.Database.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Configurations>Debug;Release;DebugPostgres</Configurations>
8+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
89
</PropertyGroup>
910

1011
<PropertyGroup Condition=" '$(Configuration)' == 'DebugPostgres' ">

Refresh.GameServer/Refresh.GameServer.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<Configurations>Debug;Release;DebugLocalBunkum;DebugPostgres</Configurations>
88
<Platforms>AnyCPU</Platforms>
99
<ServerGarbageCollection>true</ServerGarbageCollection>
10+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1011
</PropertyGroup>
1112

1213
<PropertyGroup Condition=" '$(Configuration)' == 'DebugLocalBunkum' ">

Refresh.HttpsProxy/Refresh.HttpsProxy.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
89
</PropertyGroup>
910

1011
<ItemGroup>

Refresh.PresenceServer/Refresh.PresenceServer.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
910
</PropertyGroup>
1011

1112
<ItemGroup>

RefreshTests.GameServer/RefreshTests.GameServer.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<IsTestProject>true</IsTestProject>
99
<Configurations>Debug;Release;DebugLocalBunkum;DebugPostgres</Configurations>
1010
<Platforms>AnyCPU</Platforms>
11+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

0 commit comments

Comments
 (0)