title: How do I get folders in my Visual Studio solution to appear on my server when I deploy (iis7, asp.net mvc4)?
body: <p>This seems so rudimentary that I am slightly ashamed to ask, but here I am anyway. I have a fairly typical ASP.NET MVC4 solution. In there I have a couple of folder in the root directory where I am storing some logs and files. In particular I have one page that will list all the .xml files in this directory:</p>
  
  <pre><code>/ErrorLogs/
  </code></pre>
  
  <p>Running locally this code works like a charm:</p>
  
  <pre><code> @for (int i = 0; i &lt; 50 &amp;&amp; i &lt; dir.GetFiles().Count(); i++)
   {
       &lt;tr&gt;
           &lt;td&gt;
                @dir.GetFiles()[i].LastWriteTime
           &lt;/td&gt;
           &lt;td&gt;
                &lt;a href="@Url.Action("DeleteFile", "Home", new { area = "Admin", fileName = @dir.GetFiles()[i].FullName })"&gt;&lt;i class="glyphicon glyphicon-remove-circle"&gt;&lt;/i&gt;&lt;/a&gt;
           &lt;/td&gt;
       &lt;/tr&gt;   
   }
  </code></pre>
  
  <p>Once I deploy the application (Windows Server 2008, IIS 7), I get an error when I navigate to the page. Presumably because when I navigate to the folder on the server in inetpub/wwwroot/mysite the folders are not there. </p>
  
  <p>In the properties of the folder in VS I only see 'Folder Name' and 'Namespace Provider' in there. </p>
  
  <p>How can I get the folder to copy over when I deploy? </p>