title: Compile into only one independent binary file
body: <p>I coded a simple program and I compiled it with <code>dotnet publish -c Release -r osx.10.11-x64</code></p>
  
  <p>It creates a binary file that works well but if I move this file somewhere else without the other files in the same directory, the program can't run:</p>
  
  <p><code>A fatal error occurred, the required library libhostfxr.dylib could not be found at /Users/me/</code></p>
  
  <p>Is there any way to make the binary independent?
  I remember on Windows and with .NET it was possible using ILMerge (but it uses <code>.dll</code> files, and not <code>.dylib</code>)</p>