kubemq-io / kubemq-CSharp

C# Library for KubeMQ server
MIT License
30 stars 8 forks source link

BinaryFormatter has been removed from .net 5 #6

Closed RiskManagementGroup closed 3 years ago

RiskManagementGroup commented 3 years ago

Your code relies on BinaryFormatter and in .net 5 it has been removed. Please make a version that can work in .net 5

eitam-ring commented 3 years ago

Hi, @RiskManagementGroup thanks, Will look at it

eitam-ring commented 3 years ago

Hi @RiskManagementGroup First off thanks for the update FromByteArray and ToByteArray are helper method incase you need to convert to Byte array your struct You can also just convert with your own parser if needed Regardless , we added overload function that receive IFormatter of your choosing , which can be any formatter needed