title: Hiding App.config in Resources
body: <p>I've searched around for a while but I just can't find a specific answer for this.</p>
  
  <p>In my current C# project I have an App.config file I need in order for my EDM context to find the database connection.</p>
  
  <p>I have the need for my application to consist of a single .exe file, but because of the  App.config it will generate the .exe.config next to my .exe file and requires it in order to run correctly.</p>
  
  <p>Is there a way to add the connection string for my DB context programmatically or is it possible to store the App.config in the resources?</p>
  
  <p>How can I pass the connection string to my database context?</p>