WPF Resource Dictionary for UI Styling

Hi Everyone,

I’ve been building a bunch of little tools and they each have a .xaml file for their UI. What I want to do now, is create a WPF resource dictionary to be able to unify the styles across all my tools, but I’m running into errors. I have the resource dictionary saved in my main “.extension” folder. Here is a sample of what my UI is doing to try to find that file:

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="200" Height="200" Topmost="True">
                <ResourceDictionary Source="../../../../../myExtension.extension/xamlStyles.xaml"/>

Whenever I run this, I get this error:
System.IO.IOException: Cannot locate resource ‘myextension.extension/xamlstyles.xaml’

Not sure if it means something, but for some reason, the error message doesn’t show the correct capitalization in the names.

Thanks for any suggestions!