You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our IPropertyBag implementations rely on BinaryFormatter to serialize to and from a Hashtable/IStream. AxHost.PropertyBagStream and Control.ActiveXImpl.PropertyBagStream are the implementations.
In most of the places we've removed BinaryFormatter we've relied on TypeConverter to convert to/from either string or byte[]. The idea here is to serialize to/from JSON (using System.Text.Json) with this same dependency on TypeConverter. If there is no such TypeConverter for a given type, it would be ignored. Working around this breaking change would require writing and registering a TypeConverter that supports one of these two formats.
Our
IPropertyBag
implementations rely onBinaryFormatter
to serialize to and from aHashtable
/IStream
.AxHost.PropertyBagStream
andControl.ActiveXImpl.PropertyBagStream
are the implementations.In most of the places we've removed
BinaryFormatter
we've relied onTypeConverter
to convert to/from eitherstring
orbyte[]
. The idea here is to serialize to/from JSON (using System.Text.Json) with this same dependency onTypeConverter
. If there is no suchTypeConverter
for a given type, it would be ignored. Working around this breaking change would require writing and registering aTypeConverter
that supports one of these two formats.#7986 is a related change.
cc: @GrabYourPitchforks
The text was updated successfully, but these errors were encountered: