I have created .net core console app with that launchSettings.json:
    {
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iisExpress": {
      "applicationUrl": "http://localhost:5000/",
      "sslPort": 0
    }
  },
  "profiles": {
    "Built-in ConsoleApp": {
      "commandName": "IISExpress",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development",
        "ASPNETCORE_URLS": "http://localhost:5000/"
      }
    },
    "Standalone ConsoleApp": {
      "commandName": "Project",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development",
        "ASPNETCORE_URLS": "http://localhost:5000/"
      }
    }
  }
}
In Visual studio 2017 I am using "Standalone ConsoleApp" profile and console app opens.
What is proper way to publish app to other machine ? How can I run app after publish app ?