{"action":"created","issue":{"url":"https://api.github.com/repos/EWSoftware/SHFB/issues/302","repository_url":"https://api.github.com/repos/EWSoftware/SHFB","labels_url":"https://api.github.com/repos/EWSoftware/SHFB/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/EWSoftware/SHFB/issues/302/comments","events_url":"https://api.github.com/repos/EWSoftware/SHFB/issues/302/events","html_url":"https://github.com/EWSoftware/SHFB/issues/302","id":158757854,"number":302,"title":"No members in the template matched the parameters of the specialization","user":{"login":"cesarsouza","id":528455,"avatar_url":"https://avatars.githubusercontent.com/u/528455?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarsouza","html_url":"https://github.com/cesarsouza","followers_url":"https://api.github.com/users/cesarsouza/followers","following_url":"https://api.github.com/users/cesarsouza/following{/other_user}","gists_url":"https://api.github.com/users/cesarsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarsouza/subscriptions","organizations_url":"https://api.github.com/users/cesarsouza/orgs","repos_url":"https://api.github.com/users/cesarsouza/repos","events_url":"https://api.github.com/users/cesarsouza/events{/privacy}","received_events_url":"https://api.github.com/users/cesarsouza/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-06T19:42:20Z","updated_at":"2016-08-12T18:52:24Z","closed_at":"2016-07-11T00:04:52Z","body":"Hello there,\r\n\r\nI have just updated Sandcastle Help File Builder to the latest version. When I try to build my project, I am getting the following error:\r\n\r\n  No members in the template matched the parameters of the specialization.  This is not possible but apparently it happened.\r\n\r\nHere is part of the log generated:\r\n\r\n```\r\nGenerating reflection information...\r\n[C:\\Program Files (x86)\\MSBuild\\12.0\\bin\\MSBuild.exe - GenerateRefInfo.proj]\r\nBuild started 06-Jun-16 9:32:25 PM.\r\nProject \"C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj\" on node 1 (default targets).\r\nPrepareForBuild:\r\n  Creating directory \"obj\\Debug\\\".\r\nGenerateRefInfo:\r\n  MRefBuilder (v2016.5.28.0)\r\n  Copyright c 2006-2016, Microsoft Corporation, All Rights Reserved.\r\n  Portions Copyright c 2006-2016, Eric Woodruff, All Rights Reserved.\r\n  Loaded 27 assemblies for reflection and 3 dependency assemblies.\r\nMRefBuilder : error : An unexpected error occurred trying to execute the MRefBuilder MSBuild task: System.InvalidOperationException: Accord.MachineLearning.Bayes.NaiveBayesLearningBase`4<Accord.MachineLearning.Bayes.NaiveBayes,Accord.Statistics.Distributions.Univariate.GeneralDiscreteDistribution,System.Int32,Accord.Statistics.Distributions.Fitting.IndependentOptions`1<Accord.Statistics.Distributions.Fitting.GeneralDiscreteOptions>> [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error : Accord.MachineLearning.Bayes.NaiveBayesLearningBase`4<Accord.MachineLearning.Bayes.NaiveBayes,Accord.Statistics.Distributions.Univariate.GeneralDiscreteDistribution,System.Int32,Accord.Statistics.Distributions.Fitting.IndependentOptions`1<Accord.Statistics.Distributions.Fitting.GeneralDiscreteOptions>>.Learn(System.Int32[][],System.Double[][],System.Double[]) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error : No members in the template matched the parameters of the specialization.  This is not possible but apparently it happened. [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.Reflection.ReflectionUtilities.GetTemplateMember(Member member) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.ManagedReflectionWriter.WriteMemberReference(Member member) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.ManagedReflectionWriter.WriteProcedureData(Method method, Member overrides) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.ManagedReflectionWriter.WriteMember(Member member, TypeNode type) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.ManagedReflectionWriter.VisitMember(Member member) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.Reflection.ApiVisitor.VisitMembers(MemberList members) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.Reflection.ApiVisitor.VisitType(TypeNode type) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.ManagedReflectionWriter.VisitType(TypeNode type) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.Reflection.ApiVisitor.VisitTypes(TypeNodeList types) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.Reflection.ApiVisitor.VisitNamespace(Namespace space) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.ManagedReflectionWriter.VisitNamespace(Namespace space) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.Reflection.ApiVisitor.VisitNamespaces(NamespaceList spaces) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.ManagedReflectionWriter.VisitNamespaces(NamespaceList spaces) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.Reflection.ApiVisitor.VisitApis() [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.MRefBuilderCore.Main(String[] args) [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nMRefBuilder : error :    at Microsoft.Ddue.Tools.MSBuild.MRefBuilder.Execute() [C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj]\r\nDone Building Project \"C:\\Projects\\Accord.NET\\framework\\Docs\\Working\\GenerateRefInfo.proj\" (default targets) -- FAILED.\r\n\r\nBuild FAILED.\r\n\r\nTime Elapsed 00:00:03.50\r\n    Last step completed in 00:00:03.8101\r\n+Failed\r\n```\r\n\r\nAnd the class that is triggering the error seems to be this one: [NaiveBayesLearningBase{TModel, TDistribution, TInput, TOptions}](https://github.com/accord-net/framework/blob/development/Sources/Accord.MachineLearning/Bayes/Learning/Base/NaiveBayesLearningBase%604.cs)"},"comment":{"url":"https://api.github.com/repos/EWSoftware/SHFB/issues/comments/239530110","html_url":"https://github.com/EWSoftware/SHFB/issues/302#issuecomment-239530110","issue_url":"https://api.github.com/repos/EWSoftware/SHFB/issues/302","id":239530110,"user":{"login":"cesarsouza","id":528455,"avatar_url":"https://avatars.githubusercontent.com/u/528455?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarsouza","html_url":"https://github.com/cesarsouza","followers_url":"https://api.github.com/users/cesarsouza/followers","following_url":"https://api.github.com/users/cesarsouza/following{/other_user}","gists_url":"https://api.github.com/users/cesarsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarsouza/subscriptions","organizations_url":"https://api.github.com/users/cesarsouza/orgs","repos_url":"https://api.github.com/users/cesarsouza/repos","events_url":"https://api.github.com/users/cesarsouza/events{/privacy}","received_events_url":"https://api.github.com/users/cesarsouza/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T18:52:24Z","updated_at":"2016-08-12T18:52:24Z","body":"Thanks, the patched version indeed fixed the original issue regarding the \"No members in the template matched the parameters of the specialization\" error. However, the generation kind of hangs after a while. It has been more than 2h that the both the output window and the log file have not been updated. Visual Studio CPU usage is mostly at 3%. \r\n\r\nI am trying to isolate the class that is causing this by ignoring a few namespaces from the documentation. Is there any known issue that might result in similar behavior?\r\n\r\nThanks a lot for the help!"}}
{"actor":{"display_login":"cesarsouza"}}