title: How to load an XML file from a file in the solution, build with Embedded Resource?
body: <p>Here's an outline of my solution:</p>
  
  <p><img src="https://i.stack.imgur.com/fG8GZ.png" alt="enter image description here"></p>
  
  <p>I've set the build to Embedded Resource and when I generate the application the XML file doesn't appear in the /Release folder. This is correct, I want this behavior.</p>
  
  <p>Now I'm trying to load that file into an XDocument so I can parse the data within:</p>
  
  <pre><code>class Program
  {
      static void Main(string[] args)
      {
          Console.WriteLine("Parsing XML.");
  
          XDocument championXml = XDocument.Load("Champions.xml");
  
          Console.ReadKey();
      }
  }
  </code></pre>
  
  <p>And I get a file not found error because it's trying to find the xml file in the full path of the release folder.</p>
  
  <p>How can I properly load this data into my XDocument?</p>