jefffhaynes / BinarySerializer

A declarative serialization framework for controlling formatting of data at the byte and bit level using field bindings, converters, and code.
MIT License
291 stars 62 forks source link

Unused dependencies when targeting .NET Framework 4.6 #190

Closed glopesdev closed 2 years ago

glopesdev commented 2 years ago

The BinarySerializer package dependencies are not necessary when targeting .NET Framework 4.6. Making them conditional on the NET Standard 1.3 build would avoid introducing several extra dependencies on downstream packages.

The easiest fix would be to make the following ItemGroup declaration conditional:

https://github.com/jefffhaynes/BinarySerializer/blob/c4e4222a6fb183bcd06bbe228763edcb96972a7d/BinarySerializer/BinarySerializer.csproj#L39