I'm working on following this guide to getting started on documenting my code: http://www.mono-project.com/Generating_Documentation
My code is divided into 4 assemblies, so I generated the documentation with these 4 commands: mdoc update -o cardinal-doc Cardinal.exe mdoc update -o cardinal-doc Cardinal.Core.dll mdoc update -o cardinal-doc Cardinal.Interface.dll mdoc update -o cardinal-doc Cardinal.Services.dll This created a folder named cardinal-doc with the xml documentation, as expected. I now want to edit the documentation using monodoc, so I used this command: monodoc --edit cardinal-doc MonoDoc opens, and I see "Cardinal" in the sidebar as expected. I can click on "Cardinal", but when I expand it and try to click on any of its assemblies, monodoc crashes with this trace: using WebKit using WebKit Marshaling changed signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null. Parameter name: path at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.File.OpenRead (System.String path) [0x00000] at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor (System.String name) [0x00000] at Monodoc.HelpSource.GetHelpXmlWithChanges (System.String id) [0x00000] at Monodoc.EcmaHelpSource.RenderNamespaceLookup (System.String nsurl, Monodoc.Node& match_node) [0x00000] at Monodoc.RootTree.RenderUrl (System.String url, Monodoc.Node& match_node) [0x00000] at Monodoc.TreeBrowser.RowActivated (System.Object sender, System.EventArgs a) [0x00000] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) at Gtk.Application.gtk_main() at Gtk.Application.Run() at Monodoc.Driver.Main(System.String[] args) Any idea what's going on?
_______________________________________________ Mono-docs-list maillist - Mono-docs-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-docs-list