Skip to content

Commit f0da2d7

Browse files
committed
Add TreatWarningsAsErrors
1 parent 146d610 commit f0da2d7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<Copyright>ⓒ Otiel $([System.DateTime]::Now.Year)</Copyright>
55
<AppendPlatformToOutputPath>false</AppendPlatformToOutputPath>
66
<TargetFrameworks>net48;net9.0-windows;net10.0-windows</TargetFrameworks>
7+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
8+
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
79
</PropertyGroup>
810

911
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">

0 commit comments

Comments
 (0)