Skip to content

BinaryFormatter error when clicking "Add Tab" command for TabControl in DemoConsole application #11607

@Philip-Wang01

Description

@Philip-Wang01

.NET version

.NET 9.0: Main branch of WinForms repo (.NET 9.0.0-preview.7.24326.3)

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

Yes, this is a regression issue. Not repro on .NET 9.0.0-preview.6.24305.2

Issue description

In DemoConsole test app of Winforms repo, BinaryFormatter error when clicking "Add Tab" command for TabControl.

image

testaddtab.mp4

Steps to reproduce

Test sample: DemoConsole in Winforms repo

More Info:

This issue also reproduces on ImageList when clicking the "Add" command.
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions