I created PCL library to keep all custom renderers for UWP. This PCL added to another cross platform application. its working in debug mode.
But working in release mode.
need help
regards Sumith
I created PCL library to keep all custom renderers for UWP. This PCL added to another cross platform application. its working in debug mode.
But working in release mode.
need help
regards Sumith
This is a known issue with Xamarin.Forms
for UWP
.
To fix it you must register your PCL at start up like so:
// you'll need to add `using System.Reflection;`
List<Assembly> assembliesToInclude = new List<Assembly>();
//Now, add in all the assemblies your app uses
assembliesToInclude.Add(typeof(ClassInYourPCL).GetTypeInfo().Assembly);
//Also do this for all your other 3rd party libraries
Xamarin.Forms.Forms.Init(e, assembliesToInclude);
// replaces Xamarin.Forms.Forms.Init(e);
For more info see here