{"action":"created","issue":{"url":"https://api.github.com/repos/tpetricek/FSharp.Formatting/issues/396","repository_url":"https://api.github.com/repos/tpetricek/FSharp.Formatting","labels_url":"https://api.github.com/repos/tpetricek/FSharp.Formatting/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/tpetricek/FSharp.Formatting/issues/396/comments","events_url":"https://api.github.com/repos/tpetricek/FSharp.Formatting/issues/396/events","html_url":"https://github.com/tpetricek/FSharp.Formatting/issues/396","id":145978339,"number":396,"title":"Reflection or \"Method not found\" Exceptions from CodeFormatAgent.fs","user":{"login":"Thorium","id":229355,"avatar_url":"https://avatars.githubusercontent.com/u/229355?v=3","gravatar_id":"","url":"https://api.github.com/users/Thorium","html_url":"https://github.com/Thorium","followers_url":"https://api.github.com/users/Thorium/followers","following_url":"https://api.github.com/users/Thorium/following{/other_user}","gists_url":"https://api.github.com/users/Thorium/gists{/gist_id}","starred_url":"https://api.github.com/users/Thorium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thorium/subscriptions","organizations_url":"https://api.github.com/users/Thorium/orgs","repos_url":"https://api.github.com/users/Thorium/repos","events_url":"https://api.github.com/users/Thorium/events{/privacy}","received_events_url":"https://api.github.com/users/Thorium/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-05T12:51:18Z","updated_at":"2016-04-05T13:34:51Z","closed_at":null,"body":"I'm using ProjectScaffold template (and Windows environment). ProjectScaffold generates documentation with FSharp.Formatting.\r\n\r\nNow, my build script is failing to FSharp.Formatting file CodeFormatAgent.fs interaction with FSharpVSPowerTools.Core:\r\n`SourceCodeClassifier.getCategoriesAndLocations(...)` (I even tried to update the reference to new FSharpVSPowerTools version where the corresponding method is renamed to `getCategorizedSpans` but it didn't help).\r\n\r\nThe exceptions with my source file (/docs/tools/../content/index.fsx) depends on what I have inside the file, but is never working. I would be perfectly happy with this file content:\r\n\r\n```\r\n(*** hide ***)\r\n// This block of code is omitted in the generated HTML documentation. Use \r\n// it to define helpers that you do not want to show in the documentation.\r\n#I \"../../bin\"\r\n#I @\"./../../packages/Owin/lib/net40\"\r\n\r\n(**\r\nHello World!\r\n======================\r\n\r\nDocumentation...\r\n\r\nExample\r\n-------\r\n\r\n\t\t[lang=cs]\r\n\t\tusing System;\r\n\t\tusing Owin;\r\n\t\t[assembly: Microsoft.Owin.OwinStartup(typeof(MyServer.MyWebStartup))]\r\n\t\tnamespace MyServer\r\n\t\t{\r\n\t\t}\r\n\r\nThat's it.\r\n\r\nThe project is hosted on [GitHub][gh] which is nice.\r\n  [content]: https://github.com\r\n*)\r\n\r\n```\r\nThe exceptions will raise:\r\nGenerating 'C:\\git\\Owin.Compression\\docs\\tools\\..\\content/index.html'\r\nSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Microsoft.FSharp.Collections.FSharpList`1<SynModuleDecl> SynModuleOrNamespace.get_Item3()'.\r\n   at FSharp.CodeFormat.CodeFormatAgent.ParseSource(String file, String source, FSharpOption`1 options, FSharpOption`1 defines) in C:\\git\\FSharp.Formatting\\src\\FSharp.CodeFormat\\CodeFormatAgent.fs:line 400\r\n\r\n\r\nAnd:\r\nError: System.MissingMethodException: Method not found: 'FSharpVSPowerTools.CategorizedColumnSpan`1<!!0>[] FSharpVSPowerTools.SourceCodeClassifier.getCategoriesAndLocations(FSharpVSPowerTools.SymbolUse[], FSharpVSPowerTools.ParseAndCheckResults, FSharpVSPowerTools.LexerBase, Microsoft.FSharp.Core.FSharpFunc`2<Int32,System.String>, Microsoft.FSharp.Collections.FSharpList`1<FSharpVSPowerTools.OpenDeclaration>, Microsoft.FSharp.Core.FSharpOption`1<System.Collections.Generic.Dictionary`2<System.String,Microsoft.FSharp.Collections.FSharpList`1<System.String[]>>>)'.\r\n\r\nAnd:\r\nSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Microsoft.FSharp.Collections.FSharpList`1<SynModuleDecl> SynModuleOrNamespace.get_decls()'.\r\n   at Microsoft.FSharp.Core.Operators.Raise[T](Exception exn)\r\n   at FSharp.CodeFormat.CodeFormatAgent.ParseSource(String file, String source, FSharpOption`1 options, FSh\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tpetricek/FSharp.Formatting/issues/comments/205807732","html_url":"https://github.com/tpetricek/FSharp.Formatting/issues/396#issuecomment-205807732","issue_url":"https://api.github.com/repos/tpetricek/FSharp.Formatting/issues/396","id":205807732,"user":{"login":"tpetricek","id":485413,"avatar_url":"https://avatars.githubusercontent.com/u/485413?v=3","gravatar_id":"","url":"https://api.github.com/users/tpetricek","html_url":"https://github.com/tpetricek","followers_url":"https://api.github.com/users/tpetricek/followers","following_url":"https://api.github.com/users/tpetricek/following{/other_user}","gists_url":"https://api.github.com/users/tpetricek/gists{/gist_id}","starred_url":"https://api.github.com/users/tpetricek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpetricek/subscriptions","organizations_url":"https://api.github.com/users/tpetricek/orgs","repos_url":"https://api.github.com/users/tpetricek/repos","events_url":"https://api.github.com/users/tpetricek/events{/privacy}","received_events_url":"https://api.github.com/users/tpetricek/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T13:34:51Z","updated_at":"2016-04-05T13:34:51Z","body":"Can you try 2.14.1, released just today :) ?"}}