title: Visual Studio 2012 Corrupting ApplicationHost.config File
body: <p>I just installed Visual Studio 2012 RTM.  During the process of trying to create a new web project, I receive the following error:</p>
  
  <p>"Web application projects are currently configured to use IIS Express.  To switch back to using the Visual Studio Development server, change the development server option under the Projects and Solutions/Web Projects category of the Tools/Options menu.  Configuring IIS Express failed with the following error:  Filname: \?\UNC\DEV-FILES\home\mike\MyDocuments\IISExpress\config\applicationHost.config. Line number:1. Error: Configuration file is not well formed XML"</p>
  
  <p>...and project creation subsequently fails.</p>
  
  <p>I already know that I can resolve the this by using the VS dev server, but I should also be able to use IIS when necessary.  </p>
  
  <p>When I view the applicationHost file in question, its size is 0kb. It looks like Visual Studio 2012 wiped the contents of the file completely out.  I've taken clean backups of the applicationHost file from c:/inetpub/history/ and restored them in the IISExpress folder.  Again, when I attempt to create a new project through VS 2012, the file goes from 85KB back down to 0KB. </p>
  
  <p>So I guess I'm trying to figure out why VS 2012 is writing to the applicationHost.config file, what it's trying to write, and how I can resolve the issue.</p>
  
  <p>Thanks,
  Mike</p>