title: Disambiguation between two namespaces in separate assemblies in Xaml
body: <p>I am re-developing a WPF application and the application makes use of the following 2 assemblies as it uses separate components from each:</p>
  
  <p>WPFToolkit and PresentationFramework.</p>
  
  <p>In my Xaml.cs I have used <code>extern alias</code> to use the namespace <code>System.Windows.TemplateVisualState</code> and that is all good and well, my question is in my Xaml.xaml, how would I differentiate between <code>WPFToolkit.System.Windows.TemplateVisualState</code> and <code>PresentationFramework.System.Windows.TemplateVisualState</code>?</p>
  
  <p>Below is the top part of my Xaml:</p>
  
  <pre><code> xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
   xmlns:local="clr-namespace:CAIS2"
   xmlns:CodeLib="clr-namespace:CodeLib;assembly=CodeLib"
   xmlns:CAISCommon="clr-namespace:CAISCommon;assembly=CAISCommon"  &gt;
  </code></pre>
  
  <p>Here is where Resharper is complaining:</p>
  
  <pre><code> &lt;VisualStateManager.VisualStateGroups&gt;
       &lt;VisualStateGroup x:Name="LoginStates"&gt;
           &lt;Windows:VisualState x:Name="LoggedOut"&gt;
               ......
  </code></pre>