title: Partial declarations, must not specify different base classes
body: <p>I know there is information about this on the internet and I've searched for it. But I'm still getting the error, can anyone point out to me what I'm doing wrong?</p>
  
  <p>Base class:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Windows.Controls;
  
  namespace ProgramManagementV2.screens
  {
      public abstract class AScreenUserControl : UserControl
      {
          public string GetScreenDescriptionName()
          {
              return "No name yet!";
          }
      }
  }
  </code></pre>
  
  <p>MainUserControl.xaml</p>
  
  <pre><code>&lt;UserControl x:Class="ProgramManagementV2.screens.MainUserControl"
               xmlns:we="clr-namespace:ProgramManagementV2.screens"
               xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
               xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
               xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
               mc:Ignorable="d" 
               d:DesignHeight="300" d:DesignWidth="300"&gt;
      &lt;Grid&gt;
          &lt;TextBlock Height="23" HorizontalAlignment="Center" Name="textBlock1" Text="asdfasdf" VerticalAlignment="Center" /&gt;
      &lt;/Grid&gt;
  &lt;/UserControl&gt;
  </code></pre>
  
  <p>MainUserControl.xaml.cs:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Windows;
  using System.Windows.Controls;
  using System.Windows.Data;
  using System.Windows.Documents;
  using System.Windows.Input;
  using System.Windows.Media;
  using System.Windows.Media.Imaging;
  using System.Windows.Navigation;
  using System.Windows.Shapes;
  using System.ComponentModel;
  
  namespace ProgramManagementV2.screens
  {
      /// &lt;summary&gt;
      /// Interaction logic for MainUserControl.xaml
      /// &lt;/summary&gt;
      public partial class MainUserControl : AScreenUserControl
      {
          public MainUserControl()
          {
              InitializeComponent();
          }
      }
  }
  </code></pre>
  
  <p>As you can see I'm adding</p>
  
  <pre><code>xmlns:we="clr-namespace:ProgramManagementV2.screens"
  </code></pre>
  
  <p>to the user control xml but I'm still getting the error:</p>
  
  <blockquote>
    <p>Partial declarations of 'ProgramManagementV2.screens.MainUserControl' must not specify different base classes</p>
  </blockquote>
  
  <p>Can anyone explain to me what I'm doing wrong?</p>