Skip to content

Commit 583493e

Browse files
committed
[Java.Interop] Treat warnings as errors.
1 parent 7f1a5ab commit 583493e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<!-- Note: MUST be imported *after* $(Configuration) is set! -->
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>
67
<_OutputPath>$(MSBuildThisFileDirectory)bin\Build$(Configuration)\</_OutputPath>
78
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
89
</PropertyGroup>

0 commit comments

Comments
 (0)