No suitable 'Program' type for an entry point
<p>It seems that a recent update in the nightly RC2 builds has changed the way that programs are started up. Since updating, I'm now presented with an error when running the following command.</p>

<pre><code>// "commands": {
//      "web": "Microsoft.AspNet.Server.Kestrel --server.urls http://localhost:1287"
// }

dnx --watch web

'Microsoft.AspNet.Server.Kestrel' does not contain a 'Program' type suitable for an entry point Stopped listening.
</code></pre>

<p>The Startup.cs compiles and has the follow methods.</p>

<pre><code>public class Startup
{
    public void ConfigureServices(IServiceCollection services, IHostingEnvironment env)
    { ... }

    public void Configure(IApplicationBuilder app, IApplicationLifetime lifetime)
    { ... }
}
</code></pre>

<p>What needs to be done to get the program to start up with the latest <a href="https://www.myget.org/gallery/aspnetvnext" rel="nofollow">nightly</a> builds?</p>

<p>Here is an example that reproduces the issue. <a href="https://github.com/roydukkey/moist/tree/stackoverflow-34615917" rel="nofollow">https://github.com/roydukkey/moist/tree/stackoverflow-34615917</a></p>

<p><em>sdk: v1.0.0-rc2-16357</em></p>