# Sunday, July 29, 2007
« MSBuild - Build Automation Series | Main | Yet Another Reason FireFox Rocks »

For now obvious reasons, inserting code using an external style sheet DOES NOT work inside an RSS aggregator.  Hopefully I don't have to devolve into using Font tags as Jeff Atwood does.  Lets try the Live Writer plugin with the Embed StyleSheet option checked this time.

/// <summary>
/// Recursively gets the innermost exception, i.e. the first exception
/// that was thrown.
/// </summary>
/// <param name="ex">The exception to unwind.</param>
/// <returns>The inner most InnerException.</returns>
public static Exception GetInnerMostException(Exception ex)
{
    Exception inner = ex;
    while (inner.InnerException != null)
        inner = inner.InnerException;

    return inner;
}
Sunday, July 29, 2007 6:47:39 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
Comments are closed.