Hi,
I created a Xamarin Forms project in Visual Studio Enterprise on my macbook pro.
After following along to the getting started article here: https://help.syncfusion.com/xamarin/sfpicker/gettingstarted#adding-sfpicker-reference
I am encountering compile errors in a generated file: ConfRoomScheduling.iOS.Views.FindRoomsPage.xaml.g.cs
The error is ocurring on this line in the generated file:
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
private global::Xamarin.Forms.syncfusion.SfPicker countryPicker;
The error is:
.../ConfRoomScheduling/iOS/obj/iPhoneSimulator/Debug/ConfRoomScheduling.iOS.Views.FindRoomsPage.xaml.g.cs(39,39): Error CS0234: The type or namespace name 'syncfusion' does not exist in the namespace 'Xamarin.Forms' (are you missing an assembly reference?) (CS0234) (ConfRoomScheduling.iOS)
Here is my XAML:
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:syncfusion="clr-namespace:Syncfusion.SfPicker.XForms;assembly=Syncfusion.SfPicker.XForms" x:Class="ConfRoomScheduling.Views.FindRoomsPage">
<ContentPage.Content>
<syncfusion.SfPicker x:Name="countryPicker" HeaderText="Select a Country">
</syncfusion.SfPicker>
<syncfusion.SfPicker x:Name="CityPicker" HeaderText="Select a City">
</syncfusion.SfPicker>
<syncfusion.SfPicker x:Name="FacilityPOicker" HeaderText="Select a Facility">
</syncfusion.SfPicker>
</ContentPage.Content>
</ContentPage>and code behind:
using System;
using System.Collections.Generic;
using Xamarin.Forms;
//using Syncfusion.SfPicker.XForms;
//using Syncfusion.SfPicker.iOS;
namespace ConfRoomScheduling
{
public partial class FindRoomsPage : ContentPage
{
public FindRoomsPage()
{
InitializeComponent();
}
}
}
I also tried with commented lines activated - but they were recognized.
Any help appreciated.