{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/8839","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/8839/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/8839/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/8839/events","html_url":"https://github.com/dotnet/cli/issues/8839","id":306260054,"number":8839,"title":"dotnet publish -c Release -r ubuntu.14.04-x64 create invalid executable","user":{"login":"fanoI","id":8480388,"avatar_url":"https://avatars1.githubusercontent.com/u/8480388?v=4","gravatar_id":"","url":"https://api.github.com/users/fanoI","html_url":"https://github.com/fanoI","followers_url":"https://api.github.com/users/fanoI/followers","following_url":"https://api.github.com/users/fanoI/following{/other_user}","gists_url":"https://api.github.com/users/fanoI/gists{/gist_id}","starred_url":"https://api.github.com/users/fanoI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanoI/subscriptions","organizations_url":"https://api.github.com/users/fanoI/orgs","repos_url":"https://api.github.com/users/fanoI/repos","events_url":"https://api.github.com/users/fanoI/events{/privacy}","received_events_url":"https://api.github.com/users/fanoI/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-18T17:23:09Z","updated_at":"2018-03-19T18:03:02Z","closed_at":"2018-03-19T18:03:02Z","author_association":"NONE","body":"## Steps to reproduce\r\nFollow the instructions here: https://docs.microsoft.com/en-us/dotnet/core/deploying/deploy-with-cli but change RuntimeIdentifiers in this way:\r\n\r\n```xml\r\n<RuntimeIdentifiers>win10-x64;osx.10.11-x64;ubuntu.14.04-x64</RuntimeIdentifiers>\r\n```\r\n\r\n## Expected  behavior\r\nThe SCD file created in bin\\Release\\netcoreapp2.0\\ubuntu.14.04-x64 is a valid Linux ELF binary and it is correctly executed\r\n\r\n## Actual behavior\r\nLinux refuses to execute it:\r\n\r\n>$ ./SCD\r\n>bash: ./SCD: cannot execute binary file: Exec format error\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n>Product Information:\r\n Version:            2.1.4\r\n Commit SHA-1 hash:  5e8add2190\r\n\r\n>Runtime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.16299\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n Base Path:   C:\\Program Files\\dotnet\\sdk\\2.1.4\\\r\n\r\n>Microsoft .NET Core Shared Framework Host\r\n\r\n  >Version  : 2.0.5\r\n  Build    : 17373eb129b3b05aa18ece963f8795d65ef8ea54\r\n\r\nLinux version:\r\n>$ cat /etc/issue\r\nUbuntu 14.04 LTS \\n \\l\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"livarcocc"}}