FirebasePushNotificationPlugin icon indicating copy to clipboard operation
FirebasePushNotificationPlugin copied to clipboard

type or namespace name could not be found (are you missing a using directive or an assembly reference?)

Open gjhdigital opened this issue 5 years ago • 1 comments

💬 Questions and Help

Hello, I just created a brand new blank XF project in VS 2019 to test this plugin and I cant build the iOS project because its giving me CS0246 C# The type or namespace name could not be found (are you missing a using directive or an assembly reference?) in the AppDelegate at the using Plugin.FirebasePushNotification; statement.

Yes, I ran the PM> Install-Package Plugin.FirebasePushNotification -Version 3.3.10 I also followed the youtube tutorial https://www.youtube.com/watch?v=FrxPEMLfV-o

Yes I search stackoverflow and google.

Android installed fine.

The Nuget manager says I have these Nugets installed in iOS, Android and : Xamarin.Forms v4.8.0.1560 Xamarin.Essentials v1.5.3.2 Plugin.FirebasePushNotification v3.3.10 Newtownsoft.Json v12.0.3

Did I miss something? Is it because Im setting this up on a Windows machine? Any help would be greatly appreciated.

Thanks in advance

gjhdigital avatar Oct 19 '20 20:10 gjhdigital

I recreated the project in VS 2017 with XF v3.4.0.1008975 Newtownsoft.Json v12.0.3 Plugin.FirebasePushNotification v3.3.10

and no more build errors. Could it be a VS 2019 issue?

gjhdigital avatar Oct 19 '20 20:10 gjhdigital