Rg.plugins.popup: The type or namespace name 'Popup' does not exist in the namespace 'Rg.Plugins.Popup'

Created on 2 Jun 2018  路  14Comments  路  Source: rotorgames/Rg.Plugins.Popup

I installed the plugin in all projects but I'm receiving this compile error when trying to call Rg.Plugins.Popup.Popup.Init(this, bundle) for Android (and for iOS). I tried versions 1.0.4. 1.0.3, 1.0.2 with the same results. The other namespaces are found.

Most helpful comment

On uwp you need to use the newer version as well. See the readme.

I done exactly as in the README and I just upgraded to the newest UWP version 2.0.0.2 from April 9 and started getting "The type or namespace name 'Popup' does not exist in the namespace 'Rg.Plugins.Popup' (are you missing an assembly reference?"

If I try to press "Go to the implementation" on the namespace, it gives me option to browse to the Mac or Android version. This is very weird. For iOS and Android it compiles fine.

Edit:
Found the problem. Looking in the nuget/packages folder I noticed the UWP version was located in folder uap10.0.17763. My target version was higher, but changing my minimum build version to 10.0.17763 fixed it. I suggest you document this better in your docs.

All 14 comments

Found Rg.Plugins.Popup.IOS.Popup.Init() seems like the docs need to be updated to show the platform specific namespaces now.

On my side I get : image

I didn't find the Rg.Plugins.Popup.Droid.Popup.Init().
Popup is not available in Droid namespace.

Using Rg.Plugins.Popup version 1.0.4 (Current) release.

image

I think you have to install last PRE and delete all bin and obj directories

Same for me I can work around the iOS (and suppres warning by pragma), but Rg is not found for Droid even with the assemblies referenced. Any ideas?

image

Update to latest pre-release version and you'll find Rg.Plugins.Popup.Popup.Init() taking a context and a bundle:

c# Rg.Plugins.Popup.Popup.Init(this, bundle);

In my case, it is version 1.1.4.158-pre

hi. did this issue come back in the latest 2.0 version? i get the same errors as above. in android. ios works fine.

@bo3po update your android target to 10

It work change target to 10 for Android, but still cant make it work for UWP (App.xaml.cs)

On uwp you need to use the newer version as well. See the readme.

On uwp you need to use the newer version as well. See the readme.

I done exactly as in the README and I just upgraded to the newest UWP version 2.0.0.2 from April 9 and started getting "The type or namespace name 'Popup' does not exist in the namespace 'Rg.Plugins.Popup' (are you missing an assembly reference?"

If I try to press "Go to the implementation" on the namespace, it gives me option to browse to the Mac or Android version. This is very weird. For iOS and Android it compiles fine.

Edit:
Found the problem. Looking in the nuget/packages folder I noticed the UWP version was located in folder uap10.0.17763. My target version was higher, but changing my minimum build version to 10.0.17763 fixed it. I suggest you document this better in your docs.

Thanks @njale I had the same problem after I upgraded to version 2.0.0.2. And now it works with your suggestion.

the same on UWP

Still not working, even with the latest version set on UWP

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luis-barreira picture luis-barreira  路  5Comments

cetso picture cetso  路  7Comments

masiri201 picture masiri201  路  3Comments

luis-barreira picture luis-barreira  路  5Comments

juanmalm picture juanmalm  路  4Comments