Good Day everyone. I'm developing a Cross Platform Application in Xamarin.Forms when I encounter this error "Are you missing a using directive or an assembly reference". My project is working fine before I install a Nuget package (Circle Image View in Xamarin), but when I uninstall it (without changing a single line of code) the said error started to appear. I tried to Build, Rebuild it but still it does not work. Anything I can do to fix this? Any help will be appreciated. Thanks a lot.
These are the errors:
Error 1:
The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
Error 2:
The type or namespace name 'Application' could not be found (are you missing a using directive or an assembly reference?)
Error 3:
The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
Error 4:
The type or namespace name 'ContentPage' could not be found (are you missing a using directive or an assembly reference?)
It sounds like you're missing your Xamarin.Forms packages.
Can you expand your Packages
directory in the Solution Explorer, and see if it's in there?
Try this :
Solution
tabProject
along the top menuAdd Nuget Packages
...Xamarin.forms
Xamarin.forms
to that projectIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With