title: Visual Studio 2015 project not getting virtual directory from application.host
body: <p>I have been using VS2013, but just installed VS2015.  The web project (not website) that I had been developing uses a virtual directory which is defined in the application.host config file.  It worked fine before when debugging locally via IIS Express.  But now that I'm on VS2015, it acts like the virtual host doesn't exist.  </p>
  
  <p>Here's what I have in the config file...</p>
  
  <pre><code>        &lt;site name="VMCC" id="1993109772"&gt;
              &lt;application path="/" applicationPool="Clr4IntegratedAppPool"&gt;
                  &lt;virtualDirectory path="/" physicalPath="C:\Users\myuser\Documents\Visual Studio 2013\Projects\VMCC\VMCC" /&gt;
              &lt;/application&gt;
              &lt;application path="/Photos" applicationPool="Clr2IntegratedAppPool"&gt;
                  &lt;virtualDirectory path="/" physicalPath="c:\VMCC Photos" /&gt;
              &lt;/application&gt;              
              &lt;bindings&gt;
                  &lt;binding protocol="http" bindingInformation="*:52962:localhost" /&gt;
              &lt;/bindings&gt;
          &lt;/site&gt;
  </code></pre>
  
  <p>When I load the project as a 'website', it shows the virtual directory there, and it works when debugging.  However, I don't want to develop it as a 'website' since I can't publish it.  None of my old publish profiles are available when working as a 'website.'  </p>
  
  <p>So does VS2015 just not support this or is there some new setting I'm missing?</p>
  
  <p><strong>EDIT 1</strong></p>
  
  <p>Based on this post...  <a href="https://stackoverflow.com/questions/8735713/creating-virtual-directories-in-iis-express">Creating virtual directories in IIS express</a></p>
  
  <p>I changed it to look like this:</p>
  
  <pre><code>        &lt;site name="VMCC" id="1993109772"&gt;
              &lt;application path="/" applicationPool="Clr4IntegratedAppPool"&gt;
                  &lt;virtualDirectory path="/" physicalPath="C:\Users\myuser\Documents\Visual Studio 2013\Projects\VMCC\VMCC" /&gt;
                  &lt;virtualDirectory path="/Photos" physicalPath="c:\VMCC Photos" /&gt;
              &lt;/application&gt;
              &lt;bindings&gt;
                  &lt;binding protocol="http" bindingInformation="*:52962:localhost" /&gt;
              &lt;/bindings&gt;
          &lt;/site&gt;
  </code></pre>
  
  <p>But it is still not working when debugging from VS2015.</p>