title: Read a linked xml file in Visual Studio 2010 C# project
body: <p>This may be a naive question, but I couldn't find any answers to it after some searching.</p>
  
  <p>If I add a a link to an external config file in my Visual Studio 2010 project, I want to be able to read it in using one of the following methods:</p>
  
  <pre><code>XmlDocument doc = new XmlDocument();
  doc.Load("c:\\config.config");
  </code></pre>
  
  <p>or</p>
  
  <pre><code>var doc = XDocument.Load(@"C:\config.config");
  </code></pre>
  
  <p>Now the question is, since I linked to my file in the project, is there a way to load it without providing the full path in the Load argument? I tried simply the file name, but it wasn't able to resolve that path. I would think that there is a good way to make use of a linked file imported into a project so I don't have to specify the full file location, but I could be mistaken and it is necessary to always include the full path to the file.</p>