title: Compile a .NET Core application as an EXE file using Visual Studio 2017
body: <p>I created a .NET Core application (v1.1) in Visual Studio 2017. When I compile it, I get a DLL file produced instead of the expected EXE file for the built project. I did check the <code>csproj</code> file and confirmed the output type is set to <code>exe</code>, but no dice.</p>
  <p>Why is Visual Studio 2017 is still producing a DLL file?</p>
  <p>I'm sure it's a quick setting somewhere that I forgot...</p>
  <pre><code>&lt;Project Sdk=&quot;Microsoft.NET.Sdk&quot;&gt;
  
    &lt;PropertyGroup&gt;
      &lt;OutputType&gt;Exe&lt;/OutputType&gt;
      &lt;TargetFramework&gt;netcoreapp1.1&lt;/TargetFramework&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|AnyCPU'&quot;&gt;
      &lt;PlatformTarget&gt;AnyCPU&lt;/PlatformTarget&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;ProjectReference Include=&quot;..\Core.EF.SqlServer\Core.EF.SqlServer.csproj&quot; /&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>