Invalid URI: The format of the URI could not be determined - C#
<p>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.</p>

<p>Could someone advise what the issue is please?</p>

<p>Heres the code:</p>

<pre><code>myResourceDictionary.Source = new Uri("../Resources/Styles/Shared.xaml");
</code></pre>

<p>Please let me know if you need anymore information. </p>
