Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BinaryFormatter is obsolete in .NET 5.0 (warning issued) #154

Open
zvonimir opened this issue Jul 7, 2021 · 0 comments
Open

BinaryFormatter is obsolete in .NET 5.0 (warning issued) #154

zvonimir opened this issue Jul 7, 2021 · 0 comments

Comments

@zvonimir
Copy link
Collaborator

zvonimir commented Jul 7, 2021

This is the warning we get after switching to .NET 5.0:

/home/vagrant/corral/source/Corral/Driver.cs(1266,17): warning SYSLIB0011: 'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' [/home/vagrant/corral/source/Corral/Corral.csproj]
/home/vagrant/corral/source/Corral/CBADriver.cs(461,35): warning SYSLIB0011: 'BinaryFormatter.Deserialize(Stream)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' [/home/vagrant/corral/source/Corral/Corral.csproj]
/home/vagrant/corral/source/Corral/CBADriver.cs(491,17): warning SYSLIB0011: 'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' [/home/vagrant/corral/source/Corral/Corral.csproj]

Everything still works, but it would be good to clean this up at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant