Im trying to set the source of a resource dictionary in c# to a location of a folder within the project, but get the above error.
Could someone advise what the issue is please?
Heres the code:
myResourceDictionary.Source = new Uri("../Resources/Styles/Shared.xaml");
Please let me know if you need anymore information.
You have to use UriKind.Relative