I read the article more than one time.
I add this kind of thing in my code:
_______________
#if !NDOC
using System.Data.SqlServerCe;
#endif
...
#if !NDOC
public static void ShowSqlErrors(SqlCeException e)
{...}
#endif
___________________
but I still have a error?!
Exception: System.IO.FileLoadException
at System.Reflection.RuntimeMethodInfo.InternalGetParameters()
at System.Reflection.RuntimeMethodInfo.GetParameters()
at NDoc.Core.BaseDocumenter.GetMemberName(MethodBase method)
at NDoc.Core.BaseDocumenter.WriteMethod(XmlWriter writer, MethodInfo
method, Boolean inherited, Int32 overload, Boolean hiding)
at NDoc.Core.BaseDocumenter.WriteMethods(XmlWriter writer, Type type)
at NDoc.Core.BaseDocumenter.WriteClass(XmlWriter writer, Type type, Boolean hiding)
at NDoc.Core.BaseDocumenter.WriteClasses(XmlWriter writer, Type[]
types, String namespaceName)
at NDoc.Core.BaseDocumenter.WriteNamespaces(XmlWriter writer, Module module)
at NDoc.Core.BaseDocumenter.WriteModule(XmlWriter writer, Module
module)
at NDoc.Core.BaseDocumenter.WriteAssembly(XmlWriter writer)
at NDoc.Core.BaseDocumenter.MakeXml(Project project)
Do I need to remove the reference?