In UWP projects, I get a System.MissingMethodException ("No parameterless constructor defined for this object.") in mscorlib.ni.dll whenever I call ArcGISPortal.CreateAsync() or any of its overloaded variants.
The code works perfectly for the iOS and Android Xamarin.Forms projects in the same solution.
Any suggestions?
Solved! Go to Solution.
I assume that you are using UWP with NetCore 5.2.2 which as a bug on the serialization code. This is mentioned in Release notes and you can solve by either using different NetCore version or following workaround. Let me know if this solves your issue.
I assume that you are using UWP with NetCore 5.2.2 which as a bug on the serialization code. This is mentioned in Release notes and you can solve by either using different NetCore version or following workaround. Let me know if this solves your issue.
This worked perfectly, Thanks.
I reverted to NetCore 5.1.0