winforms icon indicating copy to clipboard operation
winforms copied to clipboard

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

Open Philip-Wang01 opened this issue 7 months ago • 2 comments

.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

https://github.com/dotnet/winforms/assets/86937911/f86da6ba-fee0-452b-bb45-ca4cdb663f3f

Steps to reproduce

Test sample: DemoConsole in Winforms repo

More Info:

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

Philip-Wang01 avatar Jun 28 '24 06:06 Philip-Wang01