{"action":"closed","issue":{"url":"https://api.github.com/repos/gaillard/SharpCover/issues/10","repository_url":"https://api.github.com/repos/gaillard/SharpCover","labels_url":"https://api.github.com/repos/gaillard/SharpCover/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/gaillard/SharpCover/issues/10/comments","events_url":"https://api.github.com/repos/gaillard/SharpCover/issues/10/events","html_url":"https://github.com/gaillard/SharpCover/issues/10","id":164422199,"number":10,"title":"Fails on macOS","user":{"login":"caiofbpa","id":507356,"avatar_url":"https://avatars.githubusercontent.com/u/507356?v=3","gravatar_id":"","url":"https://api.github.com/users/caiofbpa","html_url":"https://github.com/caiofbpa","followers_url":"https://api.github.com/users/caiofbpa/followers","following_url":"https://api.github.com/users/caiofbpa/following{/other_user}","gists_url":"https://api.github.com/users/caiofbpa/gists{/gist_id}","starred_url":"https://api.github.com/users/caiofbpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caiofbpa/subscriptions","organizations_url":"https://api.github.com/users/caiofbpa/orgs","repos_url":"https://api.github.com/users/caiofbpa/repos","events_url":"https://api.github.com/users/caiofbpa/events{/privacy}","received_events_url":"https://api.github.com/users/caiofbpa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-07T22:32:36Z","updated_at":"2016-07-22T18:55:22Z","closed_at":"2016-07-22T18:55:22Z","body":"When trying to run on macOS, I get the following error:\r\n\r\n```shell\r\n$ mono ../SharpCover/Gaillard.SharpCover/bin/Debug/SharpCover.exe instrument ./coverageConfig.json\r\nMono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'\r\n  at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) <0x31f6e70 + 0x002bb> in <filename unknown>:0 \r\n  at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) <0x31f6e30 + 0x00038> in <filename unknown>:0 \r\n  at Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) <0x31f6d08 + 0x00087> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataResolver.Resolve (Mono.Cecil.TypeReference type) <0x31f6a48 + 0x000b2> in <filename unknown>:0 \r\n  at Mono.Cecil.ModuleDefinition.Resolve (Mono.Cecil.TypeReference type) <0x31f6710 + 0x00027> in <filename unknown>:0 \r\n  at Mono.Cecil.TypeReference.Resolve () <0x31f66a0 + 0x0003b> in <filename unknown>:0 \r\n  at Mono.Cecil.Mixin.CheckedResolve (Mono.Cecil.TypeReference self) <0x31c85b0 + 0x00011> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.GetConstantType (Mono.Cecil.TypeReference constant_type, System.Object constant) <0x31d7748 + 0x00077> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.GetConstantType (Mono.Cecil.TypeReference constant_type, System.Object constant) <0x31d7748 + 0x00127> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.AddConstant (IConstantProvider owner, Mono.Cecil.TypeReference type) <0x31d75f8 + 0x0002b> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.AddParameter (UInt16 sequence, Mono.Cecil.ParameterDefinition parameter, Mono.Cecil.ParamTable table) <0x31d5620 + 0x00117> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.AddParameters (Mono.Cecil.MethodDefinition method) <0x31d5450 + 0x000ef> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.AddMethod (Mono.Cecil.MethodDefinition method) <0x31d3008 + 0x00163> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.AddMethods (Mono.Cecil.TypeDefinition type) <0x31d2f98 + 0x0003f> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.AddType (Mono.Cecil.TypeDefinition type) <0x31cf890 + 0x0023f> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.AddTypeDefs () <0x31cf818 + 0x00047> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.BuildTypes () <0x31cec58 + 0x0002f> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.BuildModule () <0x31cbc48 + 0x00123> in <filename unknown>:0 \r\n  at Mono.Cecil.MetadataBuilder.BuildMetadata () <0x31cbc08 + 0x00013> in <filename unknown>:0 \r\n  at Mono.Cecil.ModuleWriter.<BuildMetadata>b__0 (Mono.Cecil.MetadataBuilder builder, Mono.Cecil.MetadataReader _) <0x31cbbe8 + 0x00013> in <filename unknown>:0 \r\n  at Mono.Cecil.ModuleDefinition.Read[TItem,TRet] (Mono.Cecil.TItem item, System.Func`3 read) <0x7c81d8 + 0x00035> in <filename unknown>:0 \r\n  at Mono.Cecil.ModuleWriter.BuildMetadata (Mono.Cecil.ModuleDefinition module, Mono.Cecil.MetadataBuilder metadata) <0x31cbb18 + 0x000ab> in <filename unknown>:0 \r\n  at Mono.Cecil.ModuleWriter.WriteModuleTo (Mono.Cecil.ModuleDefinition module, System.IO.Stream stream, Mono.Cecil.WriterParameters parameters) <0x2635bd0 + 0x001e3> in <filename unknown>:0 \r\n  at Mono.Cecil.ModuleDefinition.Write (System.IO.Stream stream, Mono.Cecil.WriterParameters parameters) <0x2635b38 + 0x00063> in <filename unknown>:0 \r\n  at Mono.Cecil.ModuleDefinition.Write (System.String fileName, Mono.Cecil.WriterParameters parameters) <0x2635aa0 + 0x0004f> in <filename unknown>:0 \r\n  at Mono.Cecil.AssemblyDefinition.Write (System.String fileName, Mono.Cecil.WriterParameters parameters) <0x2635a68 + 0x00023> in <filename unknown>:0 \r\n  at Gaillard.SharpCover.Program.Instrument (System.String assemblyPath, Gaillard.SharpCover.InstrumentConfig config, System.IO.TextWriter writer, System.Int32& instrumentIndex) <0x589e98 + 0x0013f> in <filename unknown>:0 \r\n  at Gaillard.SharpCover.Program.Main (System.String[] args) <0x57dee0 + 0x00157> in <filename unknown>:0 \r\n\r\n```"}}
{"actor":{"display_login":"caiofbpa"}}