-
Notifications
You must be signed in to change notification settings - Fork 337
Troubleshooting
Kirill edited this page Feb 13, 2018
·
2 revisions
- Check if one version of plugin has been installed to each project with Xamarin.Forms in solution.
- Make sure you open popup pages only in a main thread.
- Make sure you use
await
operator for pushing and popping popup pages. - Clean a solution or each Xamarin.Forms project.
- Close Visual Studio (or VS for Mac or Xamarin Studio or other IDA) and remove each obj and bin folder in each project.
- If previous items didn't help, don't hesitate, create a new issue here.
"Target Invocation Exception" when using "Compile with .NET Native tool chain": This might occur when using the Compile with .NET Native tool chain which is an option for UWP apps in the Properties > Build > General window for the project.
You can fix this by using a UWP-specific overload of the Forms.Init call in App.xaml.cs as shown in the code below
Xamarin.Forms.Forms.Init(e, Rg.Plugins.Popup.Popup.GetExtraAssemblies());
// replaces Xamarin.Forms.Forms.Init(e);