Xam.Plugin.PopupMenu icon indicating copy to clipboard operation
Xam.Plugin.PopupMenu copied to clipboard

Popup menu not showing in UWP in release mode

Open zalavaz1101 opened this issue 6 years ago • 3 comments

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

zalavaz1101 avatar Oct 03 '18 16:10 zalavaz1101

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

snehalr1 avatar Mar 06 '19 07:03 snehalr1

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.

TobiVanHelsinki avatar Apr 02 '20 07:04 TobiVanHelsinki

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);

mhrastegari avatar Jun 15 '21 13:06 mhrastegari