Closed jonko0493 closed 9 months ago
Created https://github.com/picoe/Eto/pull/2608 to try to get this fixed.
The Eto folks have accepted the change. We should move to an upstream preview version until they do another release.
Looking more closely at the stack trace after upgrading to the latest Eto and finding that it still crashes, this is a Windows-specific bug as this lib lives in the Wpf project. What's more, while I fixed the BinaryFormatter
in DragDropLib.cs, there are still underlying references to BinaryFormatter
in some of the methods used in DragDropLib.Wpf.cs
which is why the crashes are still occurring.
Ultimately, this is going to have to be solved at a dotnet/wpf level, so we'll just disable the crash in the meantime.
This is Eto's fault, not ours. Their drag/drop library uses the
BinaryFormatter
class, which is known to be insecure and so .NET has apparently started disabling its functions in later versions of the runtime. I have filed https://github.com/picoe/Eto/issues/2607 to request that they fix this. This also makes upgrading to Eto latest an even greater priority.