title: How is one supposed to use the F# SqlDataConnection TypeProvider with an App.Config file?
body: <p>I am using the type expression:</p>
  
  <pre><code>type dbSchema = SqlDataConnection&lt;ConnectionStringName="X1", ConfigFile="App.config"&gt;
  </code></pre>
  
  <p>This works great at compile time (I have full access to all the db types), but it fails at run time. I presume it's because the config file generated in the console application's <code>bin</code> directory is named something else, such as <code>MyAppName.exe.config</code>, and therefore the <code>App.config</code> file is not found.</p>
  
  <p>Certainly, for an <em>ASP.NET MVC</em> type app that uses <code>web.config</code>, there's no issue because the compile and runtime config filenames are the same.</p>
  
  <p>Fortunately, placing a duplicate <code>App.config</code> in the <code>bin</code> directory does remediate the problem, but is that what we are expected to do? Any thoughts?</p>