[Ndoc3-users] [Open Discussion] Error in the class ExternalXmlSummaryCache.cs
Status: Beta
Brought to you by:
xharzej
From: SourceForge.net <no...@so...> - 2011-05-25 00:52:11
|
The following forum message was posted by m4rc3lo at http://sourceforge.net/projects/ndoc3/forums/forum/763824/topic/4544161: I don't know if this is the best place to talk about it, but ... lets go... When I try to create a documentation for my project I get an erro (nullrefernce) in his line ~\trunk\src\Core\Core\Reflection\ExternalXmlSummaryCache.cs : 308 This occur because the fullname is null. I changed this line: string key = memberType + declaringType.FullName.Replace("+", ".") + "." + memberName; for this. string key = ""; if (string.IsNullOrEmpty(declaringType.FullName)) key = memberType + (declaringType.Namespace + "." + declaringType.Name).Replace("+", ".") + "." + memberName; else key = memberType + declaringType.FullName.Replace("+", ".") + "." + memberName; And this worked for me Thanks ------------------------------------- http://desenvolvedores.net |