title: Getting the location of the user.config file of any .net application
body: <p>I have a main application that saves settings to a user.config file.</p>
  
  <p>I have a second app that needs to read a setting from this file.</p>
  
  <p>Is there a simple/elegant way to get the location of the user.config file of the main app?</p>
  
  <p>I guess i could build up the path manually from </p>
  
  <blockquote>
    <p>[Application.LocalUserAppDataPath][CompanyName][AppName
    + some sort of guid][App version]</p>
  </blockquote>
  
  <p>but that seems mightily hacky.</p>