-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
The projects are now on .Net 4 client profile. Which is good to keep Windows XP/2003 support.
However, using cefsharp on a computer with only .Net 4 produces this exception: "Unhandled exception with message Type 'System.Threading.Tasks.Task`1[CefSharp.JavascriptResponse]' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.. "
I assume this is caused by this one: https://github.com/cefsharp/CefSharp/blob/JsBinding_WIP/CefSharp/Internals/IRenderProcess.cs#L15
Any way to work around this? Maybe use Begin/End-work pattern or something?