Skip to content

Commit e2df818

Browse files
HavenDVclaude
andcommitted
feat: add TreatWarningsAsErrors to SDK project template
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7c94cb8 commit e2df818

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libs/AutoSDK.CLI/Resources/src_libs_Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<EnableNETAnalyzers>true</EnableNETAnalyzers>
5151
<AnalysisLevel>latest</AnalysisLevel>
5252
<AnalysisMode>All</AnalysisMode>
53+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
5354
</PropertyGroup>
5455

5556
<PropertyGroup Label="Trimmable" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">

0 commit comments

Comments
 (0)