This project is read-only.

Allow attaching arbitrary files to the bug report



It would be very interesting to receive the log file from our application inside the Exception_*.zip file. Perhaps we could configure at startup which files to attach in the event of a crash, or otherwise react to a NBug callback where we can specify that information when an exception happens. That way we would have access to additional information leading up to the moment of the crash.


soygul wrote May 14, 2013 at 2:01 PM

This feature is already implemented (community contributed) but is not well tested. You can compile the source and start using following property in Settings class
/// <summary>
/// Gets or sets a list of additional files to be added to the report zip. The files can use * or ? in the same way as DOS modifiers.
/// </summary>
public static List<string> AdditionalReportFiles { get; set; }