title: Application can't find app.config file when run at Windows Startup
body: <p>Recently, I added a setup project to my application. In the setup project, I added a registry value that would start my application at windows startup to the HKLM\Software\Microsoft\Windows\CurrentVersion\Run key. When the application runs from this location, it crashes with a System.NullReference exception (it can't find my app.config file, which gets read in a method when the app loads up). I can run the application perfectly fine from the start menu, or from the installed folder. How can I get my application to run at Startup?</p>