Skip to content

Commit 19be729

Browse files
committed
begone protobuf warnings
1 parent 7f9fe8d commit 19be729

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/NativeCodeGen.Core/NativeCodeGen.Core.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<!-- Suppress protobuf-net informational warnings about default values -->
8+
<NoWarn>$(NoWarn);PBN0020;PBN0022</NoWarn>
79
</PropertyGroup>
810

911
<ItemGroup>

0 commit comments

Comments
 (0)