{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/1027","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/1027/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/1027/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/1027/events","html_url":"https://github.com/dotnet/coreclr/issues/1027","id":78734797,"number":1027,"title":"Linux HelloWorld. System.DllNotFoundException","user":{"login":"cheers00","id":10886743,"avatar_url":"https://avatars.githubusercontent.com/u/10886743?v=3","gravatar_id":"","url":"https://api.github.com/users/cheers00","html_url":"https://github.com/cheers00","followers_url":"https://api.github.com/users/cheers00/followers","following_url":"https://api.github.com/users/cheers00/following{/other_user}","gists_url":"https://api.github.com/users/cheers00/gists{/gist_id}","starred_url":"https://api.github.com/users/cheers00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheers00/subscriptions","organizations_url":"https://api.github.com/users/cheers00/orgs","repos_url":"https://api.github.com/users/cheers00/repos","events_url":"https://api.github.com/users/cheers00/events{/privacy}","received_events_url":"https://api.github.com/users/cheers00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-20T23:00:18Z","updated_at":"2015-05-21T20:41:08Z","closed_at":null,"body":"I followed the steps of linux instruction document (https://github.com/dotnet/coreclr/blob/master/Documentation/linux-instructions.md). I couldn't get nuget.exe using curl and I manually had to copy from windows system. But I was able to do other steps without any errors.\r\n\r\nBut when I tried to run HelloWorld, I get the following error. Am I missing something?\r\n\r\n```\r\nroot@ubuntu:/git/coreclr-demo/runtime# ./corerun HelloWorld.exe \r\n\r\n17FC System.DllNotFoundException: 170B\r\n   at Interop.mincore.GetStdHandle(Int32 nStdHandle)\r\n   at System.ConsolePal.get_OutputHandle()\r\n   at System.ConsolePal.OpenStandardOutput()\r\n   at System.Console.OpenStandardOutput()\r\n   at System.Console.<>c.<get_Out>b__9_0()\r\n   at System.Console.EnsureInitialized[T](T& field, Func`1 initializer)\r\n   at System.Console.get_Out()\r\n   at System.Console.WriteLine(String value)\r\n   at Program.DrawWindows()\r\n   at Program.Main(String[] args)\r\nroot@ubuntu:/git/coreclr-demo/runtime# \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/104414585","html_url":"https://github.com/dotnet/coreclr/issues/1027#issuecomment-104414585","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/1027","id":104414585,"user":{"login":"janvorli","id":10758568,"avatar_url":"https://avatars.githubusercontent.com/u/10758568?v=3","gravatar_id":"","url":"https://api.github.com/users/janvorli","html_url":"https://github.com/janvorli","followers_url":"https://api.github.com/users/janvorli/followers","following_url":"https://api.github.com/users/janvorli/following{/other_user}","gists_url":"https://api.github.com/users/janvorli/gists{/gist_id}","starred_url":"https://api.github.com/users/janvorli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janvorli/subscriptions","organizations_url":"https://api.github.com/users/janvorli/orgs","repos_url":"https://api.github.com/users/janvorli/repos","events_url":"https://api.github.com/users/janvorli/events{/privacy}","received_events_url":"https://api.github.com/users/janvorli/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T20:41:08Z","updated_at":"2015-05-21T20:41:08Z","body":"That's what @ellismg said. You are using the Windows version of the System.Console.dll instead of the Linux one. You need to get the one built for Linux."}}