title: AppSettings when running a .NET application from a server share
body: <p>In order to simplify deployment (i.e. not have to build an installer), I'm wanting to deploy my .NET WinForms app to a server share on our local intranet.  Turns out this is harder than I thought. I've done what I was told to do <a href="http://weblogs.sqlteam.com/jhermiz/archive/2007/08/14/60284.aspx" rel="nofollow">and generated a strong key for my application</a>.  I've also referenced the key in the project settings.</p>
  
  <p>When I run the application from the server, it runs but the application configuration is empty, i.e. this returns null:</p>
  
  <pre><code>ConfigurationManager.AppSettings["Connection"]
  </code></pre>
  
  <p>I'm not sure where to put the app.config file, or how to tell the application where to read it from.</p>
  
  <p>Can anyone help me out here?  </p>
  
  <p>I've got a feeling this is going to be just the first of many potential issues.</p>