Skip to content

Commit 6d2e443

Browse files
committed
Treat warnings as errors in Debug
1 parent bba3696 commit 6d2e443

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

TicTacToeBlazor/TicTacToeBlazor.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
88
</PropertyGroup>
99

10+
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
11+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
12+
</PropertyGroup>
13+
1014
<ItemGroup>
1115
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
1216
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" PrivateAssets="all" />

0 commit comments

Comments
 (0)