Skip to content

BinaryFormatter Deprecation #6215

@Forgind

Description

@Forgind

Motivativation

Moving away from BinaryFormatter is a long running coordinated dotnet effort, all first party code should be migrated away during .NET 8 timeframe

Context

MSBuild is using BinaryFormatter in couple places as a fallback mechanism for de/serialization of more complex types (AppDomainSetup, Exceptions, ValueTypes etc.) as well as for de/serialization of custom, pluggable data (BuildEventArgs, Embedded resources)

Scope

NET 8 - need to remove or developer-condition MSBuild usages of BinaryFormatter

post NET 8 #

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions