Unable to Deserialize - "Dynamic code generation is not supported on this platform." when using Windows Runtime Component with Javascript UWP PWA

Pramod Garikapati 1 Reputation point
2020-06-16T11:03:38.237+00:00

Hi Team,

We are trying to convert a PWA application into UWP application and we are using windows runtime component which in turn uses Net Standard 2.0 component. In the Net Standard 2.0 component when we use "JsonConvert.DeserializeObject" from Newtonsoft, we are getting error "Dynamic code generation is not supported on this platform." where as the same is working with regular windows universal application.

Sample project to reproduce the scenario is at https://1drv.ms/u/s!AiRUJ-H3vDEwgYgaz-Ad_q8QiBmpYw?e=7BIKVc

Can someone look into this and advice us please.

Universal Windows Platform (UWP)
{count} votes