Error when using picker

I am trying to use a SfPicker on xamarin forms. I have tried using both PCL and Shared project. I use this reference in my content page  xmlns:syncfusion="clr-namespace:Syncfusion.SfPicker.XForms;assembly=Syncfusion.SfPicker.XForms". When I try to run an emulator I get the error: Xamarin.Forms.Xaml.XamlParseException has been thrown. Type syncfusion:SfPicker not found in xmlns:syncfusion="clr-namespace:Syncfusion.SfPicker.XForms;assembly=Syncfusion.SfPicker.XForms". I am running this on Mac and have installed the SfPicker nuget package. How can I solve this?
Thanks. 

4 Replies

MS Mugundhan Saravanan Syncfusion Team May 2, 2018 08:41 AM UTC

Hi Caleb Kliewer,

Thanks for contacting Syncfusion Support.

The given error may occur due to the improper installation of SfPicker forms from the nuget packages.

We have Created a sample based on your requirement for both PCL and shared project. please find the sample for your reference from the following link

PCL sample:  http://www.syncfusion.com/downloads/support/directtrac/general/ze/DatePicker_(1)212379207  
  
Please let us know if you have any other concern

Regards,
Mugundhan S. 



CK Caleb Kliewer May 2, 2018 01:30 PM UTC

Thank you! Your provided project worked but I am still having trouble correctly installing the nuget package. How can i correctly install it?


CK Caleb Kliewer May 2, 2018 01:35 PM UTC

To add to my previous comment about trouble installing the nuget package, it works for android but not IOS


MS Mugundhan Saravanan Syncfusion Team May 3, 2018 10:05 AM UTC

Hi Caleb Kliewer,

Thanks for your update.

Installation of nuget packages for both android and iOS are same way.

Step 1: Initially get(copy) the Xamarin Nuget URL from the following link

Link: http://nuget.syncfusion.com/  

Step 2: In Visual studio->Solution explorer-> project->Right Click->Manage Nuget Package->Package Souce Setting->Click Add.

Step 3: Now add the URL that get from the link is added to the source and give the Name as we want and click O.K

Step 4: Select the package source as you added and search Sfpicker in browse option it Will automatically shows SfPicker.Xamarin.Forms.

Step 5: Click install and Package gets added

If you Still getting the Same issue means please let us know your availability for web meeting to check the reported issue in your side.


Regards,
Mugundhan S.

Loader.
Up arrow icon