title: Why do I need to change assembly names in my Xamarin.Forms app?
body: <p>I am wrote this XAML code in an Xamarin.Forms app (multiplatform):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
              xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
              xmlns:local="clr-namespace:MyNameSpace;assembly=MyAssemblyName"
              Padding="0,20,0,0"&gt;
  
  &lt;TabbedPage.Children&gt;
  
      &lt;local:Page1 /&gt;
      &lt;local:Page2 /&gt;
  ...
  </code></pre>
  
  <p>MyNameSpace is the namespace I choose when creating the project, and MyAssemblyName is the project name.</p>
  
  <p>Page1 and Page2 are others XAML/cs pages.</p>
  
  <p>This does not work. I had errors on Xamarin preview and at execution. Those errors said my assembly name is not found or something like that.</p>
  
  <p>I have checked options in iOS and Android sub projects. Those options where auto generated at creation.</p>
  
  <p>I see that assembly names are: MyAssemblyName.iOS and MyAssemblyName.Droid<br>
  If I rename both to MyAssemblyName, my project works.</p>
  
  <p>My questions are:</p>
  
  <ul>
  <li><p>Is it a good thing to have the same assembly name for iOS and Android project?</p></li>
  <li><p>Why this  tags did not work with default assembly names?</p></li>
  </ul>