{"action":"created","issue":{"url":"https://api.github.com/repos/YoloDev/YoloDev.Dnx.FSharp/issues/2","labels_url":"https://api.github.com/repos/YoloDev/YoloDev.Dnx.FSharp/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/YoloDev/YoloDev.Dnx.FSharp/issues/2/comments","events_url":"https://api.github.com/repos/YoloDev/YoloDev.Dnx.FSharp/issues/2/events","html_url":"https://github.com/YoloDev/YoloDev.Dnx.FSharp/issues/2","id":73309383,"number":2,"title":"Error building on OS X: \"System.IO.EndOfStreamException: Failed to read past end of stream.\"","user":{"login":"samritchie","id":309444,"avatar_url":"https://avatars.githubusercontent.com/u/309444?v=3","gravatar_id":"","url":"https://api.github.com/users/samritchie","html_url":"https://github.com/samritchie","followers_url":"https://api.github.com/users/samritchie/followers","following_url":"https://api.github.com/users/samritchie/following{/other_user}","gists_url":"https://api.github.com/users/samritchie/gists{/gist_id}","starred_url":"https://api.github.com/users/samritchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samritchie/subscriptions","organizations_url":"https://api.github.com/users/samritchie/orgs","repos_url":"https://api.github.com/users/samritchie/repos","events_url":"https://api.github.com/users/samritchie/events{/privacy}","received_events_url":"https://api.github.com/users/samritchie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T13:00:58Z","updated_at":"2015-05-05T13:09:43Z","closed_at":null,"body":"I’m getting an error building on OS X with mono 4.0.1, under both dnx beta4 and beta5. I’ve seen this issue pop up before with mono 4.x, but the beta5/4.0.1 combination is working for other aspnet projects.\r\n\r\nStacktrace:\r\n\r\n    System.IO.EndOfStreamException: Failed to read past end of stream.\r\n    at System.IO.BinaryReader.ReadChar () [0x00000] in <filename unknown>:0 \r\n    at Microsoft.CodeAnalysis.CvtResFile.ReadStringOrID (System.IO.BinaryReader fhIn) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.CodeAnalysis.CvtResFile.ReadResFile (System.IO.Stream stream) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.CodeAnalysis.Compilation.MakeWin32ResourceList (System.IO.Stream win32Resources, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.SetupWin32Resources (Microsoft.CodeAnalysis.CSharp.Emit.PEModuleBuilder moduleBeingBuilt, System.IO.Stream win32Resources, Microsoft.CodeAnalysis.DiagnosticBag diagnostics) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.CompileImpl (Microsoft.CodeAnalysis.Emit.CommonPEModuleBuilder moduleBuilder, System.IO.Stream win32Resources, System.IO.Stream xmlDocStream, Boolean generateDebugInfo, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, System.Predicate`1 filterOpt, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.CodeAnalysis.Compilation.Compile (Microsoft.CodeAnalysis.Emit.CommonPEModuleBuilder moduleBuilder, System.IO.Stream win32Resources, System.IO.Stream xmlDocStream, Boolean generateDebugInfo, Microsoft.CodeAnalysis.DiagnosticBag diagnostics, System.Predicate`1 filterOpt, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.CodeAnalysis.Compilation.Emit (Microsoft.CodeAnalysis.EmitStreamProvider peStreamProvider, Microsoft.CodeAnalysis.EmitStreamProvider pdbStreamProvider, Microsoft.CodeAnalysis.EmitStreamProvider xmlDocumentationStreamProvider, Microsoft.CodeAnalysis.EmitStreamProvider win32ResourcesStreamProvider, IEnumerable`1 manifestResources, Microsoft.CodeAnalysis.Emit.EmitOptions options, Microsoft.CodeAnalysis.CodeGen.CompilationTestData testData, System.Func`1 getHostDiagnostics, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.CodeAnalysis.Compilation.Emit (System.IO.Stream peStream, System.IO.Stream pdbStream, System.IO.Stream xmlDocumentationStream, System.IO.Stream win32Resources, IEnumerable`1 manifestResources, Microsoft.CodeAnalysis.Emit.EmitOptions options, Microsoft.CodeAnalysis.CodeGen.CompilationTestData testData, System.Func`1 getHostDiagnostics, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.CodeAnalysis.Compilation.Emit (System.IO.Stream peStream, System.IO.Stream pdbStream, System.IO.Stream xmlDocumentationStream, System.IO.Stream win32Resources, IEnumerable`1 manifestResources, Microsoft.CodeAnalysis.Emit.EmitOptions options, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.Framework.Runtime.Roslyn.RoslynProjectReference.EmitAssembly (System.String outputPath) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.Framework.PackageManager.ProjectBuilder.Build (System.String name, System.String outputPath) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.Framework.PackageManager.BuildContext.Build (System.Collections.Generic.List`1 diagnostics) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.Framework.PackageManager.BuildManager.Build () [0x00000] in <filename unknown>:0 \r\n    at Microsoft.Framework.PackageManager.Program+<>c__DisplayClass3_4.<Main>b__8 () [0x00000] in <filename unknown>:0 \r\n    at Microsoft.Framework.Runtime.Common.CommandLine.CommandLineApplication.Execute (System.String[] args) [0x00000] in <filename unknown>:0 \r\n    at Microsoft.Framework.PackageManager.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 \r\n    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)\r\n    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 \r\n    --- End of stack trace from previous location where exception was thrown ---\r\n    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 \r\n    at Microsoft.Framework.Runtime.Common.EntryPointExecutor.Execute (System.Reflection.Assembly assembly, System.String[] args, IServiceProvider serviceProvider) [0x00000] in <filename unknown>:0 \r\n    at dnx.host.Bootstrapper.RunAsync (System.Collections.Generic.List`1 args) [0x00000] in <filename unknown>:0"},"comment":{"url":"https://api.github.com/repos/YoloDev/YoloDev.Dnx.FSharp/issues/comments/99073908","html_url":"https://github.com/YoloDev/YoloDev.Dnx.FSharp/issues/2#issuecomment-99073908","issue_url":"https://api.github.com/repos/YoloDev/YoloDev.Dnx.FSharp/issues/2","id":99073908,"user":{"login":"Alxandr","id":112334,"avatar_url":"https://avatars.githubusercontent.com/u/112334?v=3","gravatar_id":"","url":"https://api.github.com/users/Alxandr","html_url":"https://github.com/Alxandr","followers_url":"https://api.github.com/users/Alxandr/followers","following_url":"https://api.github.com/users/Alxandr/following{/other_user}","gists_url":"https://api.github.com/users/Alxandr/gists{/gist_id}","starred_url":"https://api.github.com/users/Alxandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alxandr/subscriptions","organizations_url":"https://api.github.com/users/Alxandr/orgs","repos_url":"https://api.github.com/users/Alxandr/repos","events_url":"https://api.github.com/users/Alxandr/events{/privacy}","received_events_url":"https://api.github.com/users/Alxandr/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T13:09:43Z","updated_at":"2015-05-05T13:09:43Z","body":"What project are you trying to build here?"}}