Error when Building Documentation
I downloaded the latest NDoc2005BetaSrc.zip
I compiled it and build the exe file on <NDoc Path>\NDoc2005\src\Gui\bin\Debug\NDocGui.exe
Add my DLL and then tried to build my documentation, and I get a NDoc.Core.DocumentaterExeption.
Is there a configuration that I'm missing to make it work?
Here's the error that I get:
Method may only be called on a Type for which Type.IsGenericParameter is true.
Exception: NDoc.Core.DocumenterException
Method may only be called on a Type for which Type.IsGenericParameter is true.
Exception: System.InvalidOperationException
Method may only be called on a Type for which Type.IsGenericParameter is true.
Exception: NDoc.Core.DocumenterException
at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project _project) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Documenter\Msdn\MsdnDocumenter.cs:line 565
at NDoc.Gui.BuildWorker.ThreadProc() in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Gui\BuildWorker.cs:line 88
Exception: System.InvalidOperationException
Server stack trace:
at System.RuntimeType.get_GenericParameterPosition()
at NDoc.Core.MemberID.GetTypeName(Type type, Boolean UsePositionalNumber) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\MemberID.cs:line 268
at NDoc.Core.MemberID.GetTypeName(Type type) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\MemberID.cs:line 209
at NDoc.Core.MemberID.GetParameterList(MethodBase method) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\MemberID.cs:line 414
at NDoc.Core.MemberID.GetMemberID(MethodBase method) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\MemberID.cs:line 129
at NDoc.Core.Reflection.ReflectionEngine.GetMemberName(MethodBase method, Type declaringType) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 2929
at NDoc.Core.Reflection.ReflectionEngine.MustDocumentMethod(MethodBase method) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 513
at NDoc.Core.Reflection.ReflectionEngine.GetMethodOverload(MethodInfo method, Type type) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 1088
at NDoc.Core.Reflection.ReflectionEngine.WriteMethods(XmlWriter writer, Type type) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 1877
at NDoc.Core.Reflection.ReflectionEngine.WriteClass(XmlWriter writer, Type type, Boolean hiding) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 1241
at NDoc.Core.Reflection.ReflectionEngine.WriteClasses(XmlWriter writer, Type[] types, String namespaceName) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 939
at NDoc.Core.Reflection.ReflectionEngine.WriteNamespaces(XmlWriter writer, Module module) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 894
at NDoc.Core.Reflection.ReflectionEngine.WriteModule(XmlWriter writer, Module module) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 815
at NDoc.Core.Reflection.ReflectionEngine.WriteAssembly(XmlWriter writer, Assembly assembly) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 799
at NDoc.Core.Reflection.ReflectionEngine.BuildXml(XmlWriter writer) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 244
at NDoc.Core.Reflection.ReflectionEngine.MakeXmlFile(ReflectionEngineParameters rep, String xmlFile) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\ReflectionEngine\ReflectionEngine.cs:line 151
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at NDoc.Core.Reflection.ReflectionEngine.MakeXmlFile(ReflectionEngineParameters rep, String xmlFile)
at NDoc.Core.Reflection.BaseReflectionDocumenter.MakeXmlFile(Project project, String fileName) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Core\BaseReflectionDocumenter.cs:line 86
at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project _project) in C:\Documents and Settings\dasis\My Documents\Tools\NDoc\NDoc2005BetaSrc\NDoc2005\src\Documenter\Msdn\MsdnDocumenter.cs:line 328