title: .Net core application cannot run on Linux?
body: <p>I created a .Net core C# console application in Visual Studio and used the following steps to test it on Linux. </p>
  
  <ol>
  <li>Use Visual Studio "Build -> Publish" menu item to create the executable files in <code>....\bin\Release\netcoreapp2.1\publish</code>.</li>
  <li>Copy the "publish" directory to the Linux machine</li>
  <li>On Linux, <code>chmod 777 myApp.dll</code></li>
  <li><code>./myApp.dll</code></li>
  </ol>
  
  <p>However, executing the app shows the error of </p>
  
  <blockquote>
    <p>-bash: ./myApp.dll: cannot execute binary file</p>
  </blockquote>