CrossGeeks / FirebasePushNotificationPlugin

Firebase Push Notification Plugin for Xamarin iOS and Android
MIT License
396 stars 178 forks source link

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

Open gjhdigital opened 4 years ago

gjhdigital commented 4 years ago

💬 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 commented 4 years ago

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?