The WinformsControlTest app under the Winforms repo will stop running when opening TreeView/ListView form #9322
Labels
area-Serialization-BinaryFormatter-FeatureWork
Feature work under the general area of BinaryFormatter related serialization
Milestone
.NET version
.NET 8.0.100-preview.6.23320.4
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Yes, it cannot repro in .NET 8.0.100-preview.5.23261.16.
Issue description
In E2E testing, the WinformsControlTest app under the Winforms repo will stop running when opening TreeView/ListView form. After investigation, we found an exception: BinaryFormatter serialization and deserialization are disabled within this application was catched.
Stop running:
debug.mp4
Exception:
![image](https://private-user-images.githubusercontent.com/94418985/247380836-44b0c8cc-ee78-4264-8d8b-86f6b8708a89.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NzcwMjAsIm5iZiI6MTczOTY3NjcyMCwicGF0aCI6Ii85NDQxODk4NS8yNDczODA4MzYtNDRiMGM4Y2MtZWU3OC00MjY0LThkOGItODZmNmI4NzA4YTg5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAzMzIwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU2ZWIyYzBmMjgwMjFmN2JjY2FiNGNlMzg1ZDRiYzZlNWMxOGZhYTE3OTRlMzNlYTBmMjljMWU3ZTYyZjZhMGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.hlgtsvm-7xRfg9akxs_GA_xh5zT-BV4HbZ0OK9kyZx4)
Call stack:
Steps to reproduce
The text was updated successfully, but these errors were encountered: