.NET Core publishing to IIS problems - 403.14
<p>I am trying to publish a Core 1.0 app to a 2012R2 box that runs fine locally in IIS Express.</p>
<ul>
<li>Installed DotNetCore.1.0.0-WindowsHosting.exe on server</li>
<li>Installed httpPlatformHandler_amd64.msi</li>
<li>Set app pool to have 'no managed code'</li>
<li>published from VS using 'Web Deploy'</li>
<li>Latest VS Core Tools as of this writing</li>
</ul>
<p>All I get is:</p>
<blockquote>
<p>HTTP Error 403.14 - Forbidden</p>
<p>The Web server is configured to not list the contents of this
directory.</p>
</blockquote>
<p>In <a href="https://docs.asp.net/en/latest/publishing/iis.html/" rel="noreferrer" title="This Article">this article from Microsoft</a> it only mentions that a 403.14 Forbidden error is created by picking the wrong directory for the site... which is not the case.</p>
<p>VS does NOT pusblish the web.config, however. And there is no choice for 'copy to server always' or 'content' (in DDL), both choices are missing.</p>