We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issues with OnBoarding

Thread ID:





149914 Dec 13,2019 08:31 PM UTC Dec 18,2019 04:32 AM UTC Xamarin.Forms 5
Tags: UI Kit
Asked On December 13, 2019 08:31 PM UTC

Hi to all,
I'm trying to use OnBoarding but I'm getting some issues:
1-Compilation errors like:
...cannot convert from 'MyPrj.Views.Onboarding.OnBoardingAnimationPage' to 'Xamarin.Forms.Page' (CS1503) (MyPrj)
... Error CS0103: The name 'InitializeComponent' does not exist in the current context (CS0103) (XamarinHolidayChallenge)

This is the code in the OnBoarding class:
    [Preserve(AllMembers = true)]
    public partial class OnBoardingAnimationPage 
        /// <summary>
        /// Initializes a new instance of the <see cref="OnBoardingAnimationPage" /> class.
        /// </summary>
        public OnBoardingAnimationPage()

I tried to inherit from ContentPage to solve these issues, application compile and run but I don't see anything (don't show anything) in the simulator. 

Any help?
Thanks in advance.

Yuvaraj Palanisamy [Syncfusion]
Replied On December 16, 2019 01:16 PM UTC

 Hi Hipolito, 
Thank you for contacting Syncfusion support. 
We suspect your issue is caused due to the lower version of Xamarin.Forms NuGet package. So please update to the Xamarin.Forms version or greater. Also, we have prepared a sample with an Onboarding screen. Please find the sample from the below location. 
If you are facing any issues with the above sample, please revert us with the following information which is helpful to serve you better.   
·       Syncfusion Nuget Version 
·       Visual Studio Version 
·       Xamarin.Forms & Xamarin.Android version 
·       Deploying device 
·       Modified sampe 

Replied On December 16, 2019 02:12 PM UTC

Thanks Yuvaraj,
Sample works successfully. I tested with Xamarin Form 4.2.0.x and with latest

I did reproduce the problem and appears this issue happen when I add other form from UI Essential Kit, if I use only one project compile and work successfully:
-New Solution -> Blank Form (in this point Xamarin Forms Version is 4.2.0.x)
-Essential UI Kit for Xamarin Forms -> I choose OnBoarding and check Walk-through Page -> Add
-In this point I can compile and show up the form correctly

-I updated Xamarin Forms to
-Compile and run successfully.

-Then Essential UI Kit for Xamarin Forms -> I choose Forms and check Simple Login Page -> Add
-After this if I try to compile I got the error: Error CS0103: The name 'InitializeComponent' does not exist in the current context (CS0103)

Happen the same if I add first Login Page and then OnBoarding

Syncfusion version is 
Visual Studio for Mac Community (8.3.11).

What can I do?


Yuvaraj Palanisamy [Syncfusion]
Replied On December 17, 2019 01:53 PM UTC

We suspect this issue is caused by a bug in Visual Studio for MAC. Please refer the below link for that issue in Visual Studio for MAC forum.  
We have already documented the same with the below link in ‘TroubleShooting’ section. 
To work-around this issue until the issue is resolved in the Visual Studio for MAC, we must remove some XML tags manually from the .NET Standard project file. Please refer the following screenshot for the same. We must delete any relevant tags like the one in the below.  
Please try this and let us know whether this helps. So that we can proceed further in this.  

Replied On December 17, 2019 03:08 PM UTC

Thanks a lot Yuvaraj,
With your recommendation I was able to solve this issue.


Yuvaraj Palanisamy [Syncfusion]
Replied On December 18, 2019 04:32 AM UTC

Hi Hipolito, 
Thank you for your update. 
Please let us know if you require any further assistance. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon