Only use the TreatWarningsAsErrors for debug build (#3237)

* Update PKHeX.Core.csproj
This commit is contained in:
Kurt 2021-08-04 00:13:58 -07:00 committed by GitHub
parent 0f1f0166ce
commit 2f5e2016bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,9 @@
<RepositoryUrl>https://github.com/kwsch/PKHeX</RepositoryUrl>
<LangVersion>9</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>