title: UWP Xaml Intellisense from Nuget (Visual studio 2017)
body: <p>I'm having a very difficult time getting XAML intellisense working with an assembly packaged in a Nuget.</p>
  
  <p>I have created a nuget which contains a dll with a bunch of resource dictionaries. I have included all my .dll, .pdb, .pri, .xaml and .xr.xml files with the nuget.</p>
  
  <p>In my consuming application, I am trying to make use of these resource dictionaries as follows:</p>
  
  <pre><code>&lt;App.Resources&gt;
      &lt;ResourceDictionary&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;
              &lt;ResourceDictionary Source="ms-appx:///StyleTest/Brushes.xaml"&gt;&lt;/ResourceDictionary&gt;
              &lt;ResourceDictionary Source="ms-appx:///StyleTest/Spacings.xaml"&gt;&lt;/ResourceDictionary&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;
      &lt;/ResourceDictionary&gt;
  &lt;/App.Resources&gt;
  </code></pre>
  
  <p>The styles resolve at runtime but I can't seem to get intellisense for them during design time (even though the designer shows the proper colors) Notice the  squigglies: <a href="https://i.stack.imgur.com/NpYnp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NpYnp.png" alt="enter image description here"></a></p>
  
  <p>I also tried adding a code behind for my styles in the resource project and consume like this:</p>
  
  <pre><code>&lt;App.Resources&gt;
  &lt;ResourceDictionary&gt;
      &lt;ResourceDictionary.MergedDictionaries&gt;
          &lt;Styles:Brushes/&gt;
      &lt;/ResourceDictionary.MergedDictionaries&gt;
  &lt;/ResourceDictionary&gt;
  </code></pre>
  
  <p>
  But had the same result.</p>
  
  <p>Has anyone successfully been able to enable XAML intellisense for Resource Dictionaries packaged in Nugets in VS2017?</p>