mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.37k stars 241 forks source link

Use XmlSerializer instead of insecure BinaryFormatter in TransferDataSource #1114

Closed sevoku closed 1 year ago

Therzok commented 1 year ago

Can we instead download gtk# from the github releases? https://github.com/mono/gtk-sharp/releases

sevoku commented 1 year ago

Can we instead download gtk# from the github releases? https://github.com/mono/gtk-sharp/releases

Oh nice, I didn't know this existed! Will try in https://github.com/mono/xwt/pull/1115

Therzok commented 1 year ago

Oh nice, I didn't know this existed! Will try in #1115

Nor did I. I think it's behind a few versions, but it's newer than what you're installing in appveyor.

BretJohnson commented 1 year ago

I updated this to use XmlSerializer instead of JsonSerializer, as that works better for Android designer drag & drop / clipboard (the formatting is better and in general the XML serializer is more mature, with more options). I also switched to .NET 4.7.2, from 4.6.1, on Windows. With those changes, I tested and (with other required changes on the Android designer side) everything works OK. So this is good to merge from my perspective.