Xamarin Forms Custom Control

asabaasaba USMember
edited June 2014 in Xamarin.Forms

Hello everybody !

I've a problem when i want to use Custom Control in XAML, on the top of my file, a namespace is declared :


Then, when i use a control from this namespace in my XAML file, it works :

<controls:CustomButton />

But if I add the x:Name="myButton" attribute to this control, it doesn't work :(
I've the following error :

Error 2 The "XamlG" task failed unexpectedly. System.Exception: Can't load types from xmlns clr-namespace:FormsAppPCL.Controls;assembly=FormsAppPCL

What's the reason ??

Thanks in advance :)


  • asabaasaba USMember

    Problem solved with Xamarin.Forms 1.0.6197

Sign In or Register to comment.