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

RunInfo Plugin incompatible with PowerShell 7.4 #38

Open
brogers5 opened this issue Nov 29, 2023 · 0 comments · May be fixed by #39
Open

RunInfo Plugin incompatible with PowerShell 7.4 #38

brogers5 opened this issue Nov 29, 2023 · 0 comments · May be fixed by #39

Comments

@brogers5
Copy link

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.

Related: #13

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