| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Explicitly deserialize Xml without XmlSerializer (is not AOT Friendly) improve code improve code ad pull request number remove .
|
Here in this pull request I added a sample that shows the problem.
Selecting Mapsui.Forms.WPF as startup project the sample works. I can make a simple reproduction sample in uwp too |
Sorry, something went wrong.
|
Thanks for posting this. I'll have a look at it as soon as I've got time. If I remember the compiler warnings correctly there might be more places in our code where we'll have to fix this. |
Sorry, something went wrong.
|
An alternative solution would be to use the xml-serializer-generator. Which generates the xml Serialization code on compilation instead of at the runtime. https://learn.microsoft.com/en-us/dotnet/core/additional-tools/xml-serializer-generator But the it would produce an additional dll, which needs to be redistribouted whith the library dll (added to the nuget packge). And there might be other problems. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes # .
Checklist
Changes proposed in this pull request:
A further advantage of this that no XmlSerialization Assembly needs to be createde on first projection usage.
It seems for me that the appveyor run is slightly faster after this checkin.