Deploying ASP NET Core to IIS
<p>I've made a simple ASP.NET Core website based on tutorial on asp.net website <a href="https://www.asp.net/web-forms/videos/how-do-i/build-your-first-asp-net-application-with-asp-net-web-forms">here</a>.</p>

<p>Now, I'd like to publish it on my other machine on the IIS.</p>

<p>I've followed the instructions on <a href="https://docs.asp.net/en/latest/publishing/iis.html">this site</a> but I just can't get it working... </p>

<p>I keep getting 500 Internal server error</p>

<p>Based on the logs in Event Viewer this is the culprit:</p>

<pre><code>Failed to start process with the commandline 'dotnet .\MyWebApp.dll'. Error code = '0x80004005'.
</code></pre>

<p>Can anyone please help me?</p>