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
After updating to PowerShell 7.4, I'm consistently encountering the following error:
Running RunInfo
ERROR:
Exception calling "Serialize" with "2" argument(s): "Type 'System.Management.Automation.PSObject' in Assembly 'System.Management.Automation, Version=7.4.0.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35' is not marked as serializable."
The Serializable attribute was removed from PSObject with 7.4's release, likely as a consequence of ongoing efforts to sunset BinaryFormatter in .NET.
deep_clone in particular will likely need to be reimplemented, possibly with PSSerializer.
After updating to PowerShell 7.4, I'm consistently encountering the following error:
The
Serializable
attribute was removed fromPSObject
with 7.4's release, likely as a consequence of ongoing efforts to sunsetBinaryFormatter
in .NET.deep_clone
in particular will likely need to be reimplemented, possibly withPSSerializer
.Related: #13
The text was updated successfully, but these errors were encountered: