title: Visual Studio 2010 - Dictionary Not found but it exists
body: <p>Well, I´m developing a wpf application and I got a strange error on design time. This is the code of a wpf form:</p>
  
  <pre><code>&lt;Window x:Class="ViewLayer.Frm_EnrollWaitingList"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          Title="Frm_EnrollWaitingList" WindowStartupLocation="CenterScreen" BorderBrush="{x:Null}" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="390" Width="410"
          WindowStyle="None"
          AllowsTransparency="True"
          ResizeMode="NoResize"&gt;
      &lt;Window.Resources&gt;
          &lt;ResourceDictionary Source="Dictionary/WaitingListDictorionary.xaml"/&gt;
      &lt;/Window.Resources&gt;
      &lt;Grid&gt;
          &lt;Rectangle Margin="0,0,0,0" Name="rectangle1" Stroke="{x:Null}" Fill="#FF8C90AD" Opacity="0.95" /&gt;
          &lt;Button Style="{DynamicResource CommonButton}" Content="Salir" Height="80" HorizontalAlignment="Left" Margin="166,234,0,0" Name="btn_close" VerticalAlignment="Top" Width="180" /&gt;
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>The problem starts here:</p>
  
  <pre><code>&lt;Window.Resources&gt;
      &lt;ResourceDictionary Source="Dictionary/WaitingListDictorionary.xaml"/&gt;
  &lt;/Window.Resources&gt;
  </code></pre>
  
  <p>The <code>ResourceDictionary</code> exits and in execution time it works perfectly. But at design time sometime when a want to modify the form in visual studio designer i get the following error: </p>
  
  <pre><code>FileNotFoundException An error occurred while finding the resource dictionary "Dictionary/WaitingListDictorionary.xaml".
  
  
  Unable to find the specified file.
     at Microsoft.Windows.Design.Platform.ViewProducerBase.Microsoft.Expression.DesignModel.DocumentModel.IDocumentRootResolver.GetDocumentRoot(String path)
     at Microsoft.Expression.Platform.WPF.InstanceBuilders.ResourceDictionaryInstanceBuilder.ProvideResourceDictionary(IInstanceBuilderContext context, DocumentCompositeNode resourceDictionaryReferenceNode, IDocumentRoot&amp; relatedRoot)
  </code></pre>
  
  <p>And I can not edit the form with the designer.</p>
  
  <p>Any idea? I repeat on execution time I have no problems.</p>