title: IIS Express path to applicationhost.config in Visual Studio 2010
body: <p>Is there a way to tell Visual Studio 2010 what value to use for the /config parameter when IIS Express is started?</p>
  <p>Using Process Explorer I can see:</p>
  <ul>
  <li>the iisexpress.exe process is started by Visual Studio with the /config parameter pointing to '<strong>My Documents\IISExpress</strong>' via the environment variable named <code>IIS_USER_HOME</code> .</li>
  </ul>
  <p>However I need to store my applicationhost.config in another location.
  Changing that <code>IIS_USER_HOME</code> variable might do the trick (?) but I don't know any way to access it.</p>
  <h3>What I have tried:</h3>
  <p>I guess that these instructions on <a href="http://www.intrepidstudios.com/blog/2010/7/11/debug-your-net-web-project-with-iis-express-t.aspx" rel="nofollow noreferrer">how to debug .NET web projects with IIS Express pre SP1</a> might work for me but they seems like a hassle to follow. There ought to be an easier way?</p>
  <p>This StackOverflow question about <a href="https://stackoverflow.com/questions/4845970/global-variables-within-iis-express">global variables within IIS Express</a> suggest that I should move the location of 'My Documents'. Unfortunately that is not an option for me.</p>