The "DebugType" parameter is not supported by the "XamlCTask" task

Hi

downloaded the sample for the SFNavigationDrawerGettingStarted and I get the following error when I compile:

error MSB4064: The "DebugType" parameter is not supported by the "XamlCTask" task. Verify the parameter exists on the task, and it is a settable public instance property.
error MSB4063: The "XamlCTask" task could not be initialized with its input parameters. 


I am on Visual studio 2017 on the Mac with the latest version of Xcode.

I was also not able to just copy and paste the code from the documentation into working sample project to get the control working via the C# api.

Thanks HP

5 Replies

PG Piotr Grzywa October 11, 2017 01:32 PM UTC

It is standard error in Xamarin google's uncle should help

https://www.google.pl/search?q=xamarin+The+%22XamlCTask%22+task+could+not+be+initialized+with+its+input+parameters.+&ie=utf-8&oe=utf-8&client=firefox-b-ab&gfe_rd=cr&dcr=0&ei=eBzeWdejLdTc8Afi8ba4AQ



SK Selva Kumar  Veerakrishnan Syncfusion Team October 11, 2017 02:16 PM UTC

Hi hulluperuna,

Thank you for contacting Syncfusion Support.

This Error is common when we use multiple Xamarin.Forms Package in our samples. To avoid this error being occurred in your project, please follow the below given procedure.

Check whether Xamarin.Forms package has been included with the same version in all projects. If not add same version of Xamarin.Forms package

Even after changing the Version of Xamarin.Forms does not resolve this error please follow the below given steps.

1. Remove the Xamarin.Forms package from your project (It includes PCL, Xamain.Forms.Android, Xamain.Forms.iOS and Xamain.Forms.UWP)
2. Now add the appropriate version of Xamarin.Forms into your project and build it.


Also we have prepared a sample, in which the SfNavigationDrawer works with the latest Xamarin.Forms package.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/NavigationDrawerGettingStarted_51630602687.zip

Please let us know if you have any concern about this.

Regards,
Selva Kumar V.


HU hulluperuna October 14, 2017 04:45 AM UTC

Hi

I got the sample now running. Do you have a sample which is not using the xaml. The documentation for your c# is incomplete and I can not get the control to render correct following your c# tutorial.


HP



SK Selva Kumar  Veerakrishnan Syncfusion Team October 16, 2017 09:00 AM UTC

Hi Piotr, 
  
Thank you for sharing your information regarding this query. 
  
Regards, 
Selva Kumar V. 



SK Selva Kumar  Veerakrishnan Syncfusion Team October 16, 2017 09:01 AM UTC

Hi hulluperuna,

We have created a sample based on your requirement, in which the SfNavigationDrawer control has been created by using C# codes. Please download the sample from the link given below.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/NavigationDrawerGettingStarted_5_4-484789079.zip  

Please let us know if you have any concern about this.

Regards,
Selva Kumar V.

Loader.
Up arrow icon