{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/7409","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/7409/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/7409/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/7409/events","html_url":"https://github.com/dotnet/corefx/issues/7409","id":145011583,"number":7409,"title":"Regression in StringBuilder.AppendLine and Console.Write and Console.WriteLine","user":{"login":"ljw1004","id":3316258,"avatar_url":"https://avatars.githubusercontent.com/u/3316258?v=3","gravatar_id":"","url":"https://api.github.com/users/ljw1004","html_url":"https://github.com/ljw1004","followers_url":"https://api.github.com/users/ljw1004/followers","following_url":"https://api.github.com/users/ljw1004/following{/other_user}","gists_url":"https://api.github.com/users/ljw1004/gists{/gist_id}","starred_url":"https://api.github.com/users/ljw1004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljw1004/subscriptions","organizations_url":"https://api.github.com/users/ljw1004/orgs","repos_url":"https://api.github.com/users/ljw1004/repos","events_url":"https://api.github.com/users/ljw1004/events{/privacy}","received_events_url":"https://api.github.com/users/ljw1004/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/bug","name":"bug","color":"207de5"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/System.Runtime","name":"System.Runtime","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"steveharter","id":6986755,"avatar_url":"https://avatars.githubusercontent.com/u/6986755?v=3","gravatar_id":"","url":"https://api.github.com/users/steveharter","html_url":"https://github.com/steveharter","followers_url":"https://api.github.com/users/steveharter/followers","following_url":"https://api.github.com/users/steveharter/following{/other_user}","gists_url":"https://api.github.com/users/steveharter/gists{/gist_id}","starred_url":"https://api.github.com/users/steveharter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveharter/subscriptions","organizations_url":"https://api.github.com/users/steveharter/orgs","repos_url":"https://api.github.com/users/steveharter/repos","events_url":"https://api.github.com/users/steveharter/events{/privacy}","received_events_url":"https://api.github.com/users/steveharter/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/4","html_url":"https://github.com/dotnet/corefx/milestones/1.0.0-rtm","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/4/labels","id":1248719,"number":4,"title":"1.0.0-rtm","description":"2016 https://github.com/aspnet/Home/wiki/Roadmap","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":339,"closed_issues":480,"state":"open","created_at":"2015-08-10T18:04:00Z","updated_at":"2016-04-02T22:18:17Z","due_on":"2016-06-30T07:00:00Z","closed_at":null},"comments":6,"created_at":"2016-03-31T20:39:58Z","updated_at":"2016-04-03T09:16:30Z","closed_at":null,"body":"This code:\r\n```csharp\r\nstatic void Main()\r\n{\r\n    var sb = new StringBuilder();\r\n    sb.Append(\"hello\");\r\n    sb.AppendLine();\r\n    sb.AppendLine();\r\n    sb.Append(\"world\");\r\n    sb.AppendLine();\r\n    var s = sb.ToString();\r\n    Console.WriteLine(s);\r\n}\r\n```\r\n\r\nIn .NET Framework 4.6, it prints this output (with a completely empty line between the two words):\r\n```\r\nhello\r\n\r\nworld\r\n```\r\n\r\nBut when I write it in a dotnet-cli console app (generated using \"dotnet new\", and targeting \r\n`\"frameworks\": {\"netstandard1.5\"}` and dependency `\"Microsoft.NETCore.App\": { \"version\": \"1.0.0-rc2-23930\"}`, then it omits the blank line:\r\n```\r\nhello\r\nworld\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/204923202","html_url":"https://github.com/dotnet/corefx/issues/7409#issuecomment-204923202","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/7409","id":204923202,"user":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T09:16:30Z","updated_at":"2016-04-03T09:16:30Z","body":"@ljw1004 I don't think there is. When I run `dotnet exec -h`, it says \"dotnet exec needs a dll to execute\" and that's how I used it.\r\n\r\nIn my case, I could either use `dotnet run` or `dotnet exec bin\\Debug\\netstandard1.5\\myapp.dll`."}}