title: Load XML File from Project Directory
body: <p>I have in my WPF project an "assets" folder by the fonts, images and XML files. How can I read XML files from the project directory using C#? Tried it on the Assembly, but the file can not be found. About XAML can very easily download images from that folder.</p>
  
  <p>When I use the follow string, the file can't be found. How can I load my XML file from the project directory?</p>
  
  <pre><code>string stream = "pack://application:,,,/ReferencedAssembly;component/assets/myxml.xml";
  </code></pre>
  
  <p>Thanks in advance for any help.</p>