title: How to get the base directory path in App.config?
body: <p>From app.config I want to dynamically get the base directory path where project exe is present. Is that possible?     </p>
  
  <p>For example, in C# code we can write the following to get the path.<br>
  <code>string executablePath = AppDomain.CurrentDomain.BaseDirectory</code>    </p>
  
  <p>Is there any way to get this path in app.config? </p>
  
  <p><code>&lt;add key="AssemblyPath" value="????" /&gt;</code> what to write in value? since it will be varied from user to user how to get it dynamically?
  and then in the project, we want to use this as    </p>
  
  <p><code>string executablePath = ConfigurationManager.AppSettings["AssemblyPath"];</code>  </p>
  
  <p>I checked many posts on StackOverflow flow but did not get this particular answer.</p>