cjlotz/Xamarin.Plugins

Can't build samples

Closed this issue · 2 comments

Hello, I just downloaded this plugin to test it on a device discovering that namespaces Media and MediaFiles are not available:
Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name 'Media' does not exist in the namespace 'Xamarin' (are you missing an assembly reference?) Plugin.Messaging.iOSUnified.Sample \Xamarin.Plugins-master\Messaging\Plugin.Messaging.iOSUnified.Sample\RootViewController.cs 5 Active

both in Android and ios projects

These namespaces are from the the Xamarin.Mobile component referenced from the Xamarin Mobile Component Store. I know Xamarin is retiring the component store, so this might be the reason for it not restoring as part of the build process. I've unignored the Components folder that contains my local downloaded copies of the Xamarin.Mobile component. Hopefully that solves your compile issues.