-
Notifications
You must be signed in to change notification settings - Fork 241
Use XmlSerializer instead of insecure BinaryFormatter in TransferDataSource #1114
Conversation
e3d9f42
to
327e01e
Compare
45e47b6
to
c997892
Compare
Explicitly set the TargetFramework in Xwt.csproj to netstandard2.0, so that it builds properly on Windows (where it otherwise would default to .NET Framework 4.6.1).
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 #1115 |
Nor did I. I think it's behind a few versions, but it's newer than what you're installing in appveyor. |
XML serialization works better than JSON for Android designer data - it's formatted better and is more mature, with more options supported.
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. |
@@ -1,5 +1,7 @@ | |||
<?xml version="1.0" encoding="utf-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: SDK style projects do not usually have this xml header.
No description provided.