title: Xamarin Forms.Xaml.XamlParseException
body: <p>I am creating a xamarin behaviour to validate an email id, therefore I created the behaviour file and tried to localise it in XAML file but I get the below error</p>
  
  <blockquote>
    <p>Xamarin.Forms.Xaml.XamlParseException: Position 12:10. Type
    local:EmailBhvr not found in xmlns
    clr-namespace:Validation.Helpers;assembly=Validation.Helpers</p>
    
    <p>Namespace: Validation</p>
    
    <p>Behaviour Code File: EmailBhvr</p>
  </blockquote>
  
  <p>Here is my XAML code: </p>
  
  <pre><code>&lt;? xml version="1.0" encoding="utf-8" ?&gt;
  &lt;ContentPage xmlns = "http://xamarin.com/schemas/2014/forms"
                  xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
                  xmlns:local="clr-namespace:Validation;assembly=Validation"
                  x:Class="Validation.WelcomePage"&gt;
      &lt;StackLayout&gt;
      &lt;Label Text = "Hello Xamarin" /&gt;
  
  
      &lt; Entry Placeholder="Enter your full name" x:Name="myName"&gt;
          &lt;Entry.Behaviors&gt;
          &lt;local:EmailBhvr /&gt;
          &lt;/Entry.Behaviors&gt;
      &lt;/Entry&gt;
  
      &lt;Entry Placeholder = "Enter your email" x:Name="myEmail" /&gt;
  
      &lt;Entry Placeholder = "Enter password" x:Name="myPassword" IsPassword="True"  /&gt;
  
      &lt;Entry Placeholder = "Confirm password" x:Name="myConfirmPassword" IsPassword="True"  /&gt;
  
      &lt;Button Text = "Save" x:Name="SaveRegistration"/&gt;
      &lt;/StackLayout&gt;
  &lt;/ContentPage&gt;
  </code></pre>