title: System.IO.FileNotFoundException while reading XML file in vb/net
body: <p>While testing/debugging an application; vb.net code fails in the frmMain_Load event. It is trying to load the attribute value of <code>name</code> from an XML into a combobox. I have the XML in the project but while testing/debugging the application it is looking for the XML file in the bin\debug folder.</p>
  
  <p><a href="https://i.stack.imgur.com/TqttO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TqttO.jpg" alt="Error Message"></a></p>
  
  <p>The solution looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/7d3OQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7d3OQ.jpg" alt="Solution Explorer"></a></p>
  
  <p>I know that I can move the XML file into the bin\debug folder and the application will work fine but I don't think that I should have to do this... What am I missing?</p>
  
  <p><a href="https://i.stack.imgur.com/Tknjc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tknjc.jpg" alt="Application Files"></a>
  <a href="https://i.stack.imgur.com/d55s2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d55s2.jpg" alt="dice.xml Properties"></a></p>
  
  <p>Full Path: C:\Users\Troy Pilewski\Source\Repositories\dicebag\dice.xml</p>