Xam.Plugin.PopupMenu
Xam.Plugin.PopupMenu copied to clipboard
Popup menu not showing in UWP in release mode
The menu somehow fails to show up in UWP compiling in Release Mode. In Debug Mode works OK. Could be an assembly issue possibly?.
Thanks in advance
Facing same issue. application works fine in debug mode but popup is not opening in release mode. Can you please help me in the same?
Thanks
Having the same issues here. There is a often used solution for this kind of issue: Include the assembly at the start up:
List<Assembly> assembliesToInclude = new List<Assembly>(); assembliesToInclude.Add(typeof(Xam.Plugin.PopupMenu).GetTypeInfo().Assembly); Xamarin.Forms.Forms.Init(args, assembliesToInclude);
unfortunaly, this did not work for me.
Has anyone in this thread found a solution? If not, I recommend to use and other type of control, that has a better support.
You can use this for release mode in UWP :
in your App.xaml.cs of UWP project add these
var rendererAssemblies = new[] { typeof(Xam.Plugin.Shared.PopupEffect).GetTypeInfo().Assembly };
Xamarin.Forms.Forms.Init(e, rendererAssemblies);