Custom Serializer fails in UWP Store App
See original GitHub issueI’ve incorporated MessagePack as a custom serializer for DMS in our web api and UWP client app, pretty much a copy and paste from the DMS docs.
It works brilliantly on my dev machine but when published to the Micro$ Store DMS throws
Dotmim.Sync.SyncException: Dynamic code generation is not supported on this platform
I assume that is a WinRT limitation. Does anyone have any advice on how to incorporate MessagePack as a custom serializer for DMS in a WinRT app? A simple can’t be done might save save pain for others striking this issue.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
c# - Problems with DataContractSerializer ...
Below is a very short UWP unit test that attempts to serialize and then deserialize a class called Car using a DataContractSerializer.
Read more >System.Text.Json throw exceptions on UWP in Release Build
Just to bump this with something I discovered today, calls to JasonSerializer.Serialize() were working fine using UWP .NET Native against .NET ...
Read more >UWP DataContractSerializer fails to load configuration ...
I am trying to serialize a simple class in a UWP app using the following code: var serializer = new DataContractSerializer(typeof(Data)); ...
Read more >Cannot Build UWP App, Error WMC1006
I can build in Visual Studio just fine. I have four packages, 2 UWP, 1 .NET Standard Core project, and an .NET 4.6...
Read more >Migrating Your Windows 8.x App to .NET Native
XmlSerializer fails to generate code for a type that has methods attributed with any of the following attributes: OnSerializingAttribute.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Check types in
Default.rd.xmlTry to add your serializable type the like thisWhat stops you from changing sync address for that flight