title: How to create a dotnet core single executable
body: <p>I would like to configure my dotnet core project to compile as a single executable.</p>
  
  <p>The project is similar to the one generated with <code>dotnet new</code>:</p>
  
  <pre><code>{
    "version": "1.0.0-*",
    "buildOptions": {
      "debugType": "portable",
      "emitEntryPoint": true
    },
    "dependencies": {},
    "frameworks": {
      "netcoreapp1.1": {
        "dependencies": {
          "Microsoft.NETCore.App": {
            "version": "1.1.0"
          }
        },
        "imports": "dnxcore50"
      }
    },
    "runtimes": {
       "win10-x64": {}
     }
  }
  </code></pre>
  
  <p>How can I make it so this compiles as a single program.exe? When I run <code>dotnet publish</code> it puts dlls and the program.exe in a publish folder, but doesn't combine them.</p>