title: How to access an XML file after publishing a project?
body: <p>I can load my XML file as expected during debugging mode using the code as follows:</p>
  
  <pre><code>Dim strm As New FileStream(System.IO.Path.GetFullPath(Application.StartupPath &amp; "\QuestionList.xml"), FileMode.Open)
  </code></pre>
  
  <p>But after I published my project using ClickOnce Deployment, an error message is always prompting stating that:</p>
  
  <p>Could not find the file:
  'C:\Documents and Settings*username*\Local Settings\Apps\2.0\RANDOM CHARACTERS HERE\QuestionList.xml'</p>
  
  <p>A File not found exception occurs.</p>
  
  <p>My problem is similar with <a href="https://stackoverflow.com/questions/6024485/how-do-i-access-an-xml-file-that-is-included-in-the-project">this question here in SO</a>, and tried the solutions proposed out there but with no luck, just like the original poster. </p>
  
  <p>Why can't I access an XML file onced I <strong>published</strong> my project?</p>