Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup menu not showing in UWP in release mode #10

Open
zalavaz1101 opened this issue Oct 3, 2018 · 3 comments
Open

Popup menu not showing in UWP in release mode #10

zalavaz1101 opened this issue Oct 3, 2018 · 3 comments

Comments

@zalavaz1101
Copy link

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

@snehalr1
Copy link

snehalr1 commented Mar 6, 2019

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

@TobiVanHelsinki
Copy link

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.

@mhrastegari
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants