Publishing self-contained app .NET Core application
<p>Recently, I have installed VS 2017 RC with .NET Core Preview 4 SDK.
In new SDK, there is no <code>project.json</code>, only <code>csproj</code> file:</p>

<pre><code>&lt;PropertyGroup&gt;
   &lt;OutputType&gt;winexe&lt;/OutputType&gt;
   &lt;TargetFramework&gt;netcoreapp1.0&lt;/TargetFramework&gt;
     &lt;PreserveCompilationContext&gt;true&lt;/PreserveCompilationContext&gt;
&lt;/PropertyGroup
</code></pre>

<p>The problem is that now, <code>dotnet publish</code> outputs <code>dll</code>, not <code>exe</code> file.
I have tried to run <code>dotnet publish -r win10-x64</code> but it doesn't even compile.</p>

<p>How can I make self-contained application in dotnet 1.1 Preview?
Maybe should I specify <code>runtime</code> section in csproj (like it was required in json)?</p>