-
Notifications
You must be signed in to change notification settings - Fork 984
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
Failed to Clipboard.GetData() as the specified format #9180
Comments
@JeremyKuhne I guess you are still working through the binary formatter changes? |
This doesn't reproduce for me with the current bits when the Some notes on the BinaryFormatter being disabled: Unfortunately, the OLE clipboard window always swallows errors when setting data (in I'm thinking through what we might be able to do to surface that the |
@JeremyKuhne I have built debug and release dlls under winforms repro. Get NotSupportedException with the binary formatter when using debug dlls and don't get NotSupportedException when using release dlls. bandicam.2023-05-30.23-45-35-515.mp4 |
After investigation, the test cases failed for similar reasons as 9322. |
@Philip-Wang01 we don't need it open, I'm going to close it. Thanks for the heads up. |
.NET version
.NET 8.0.100-preview.5.23274.2
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Yes, it works in .NET 6.0/7.0/8.0.100-preview5.23253.20. Maybe caused by: #9088
Issue description
Testapp: Testapp.zip
.NET 8.0
.NET 7.0
Steps to reproduce
The text was updated successfully, but these errors were encountered: