Skip to content

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

@zvonimir

Description

@zvonimir

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions