What are the challenges you face when working across database platforms? Take the survey
Options

SmartExceptionsCore.UI in SmartAssembly 8

We are using the SmartAssembly.SmartExceptionsCore.UI.
After update to dotnet Core(6.0) we updated the SmartAssembly too, but I can not find the UI anymore.
Where is the SmartAssembly.SmartExceptionsCore.UI in the SmartAssembly 8 ?  
Tagged:

Answers

  • Options
    Hello Krudi,

    I'm afraid I'm not immediately sure, please could you link me to the UI equivalent of a former version so I can check our repositories?
    Kind regards
    Peter Laws | Redgate Software
    Have you visited our Help Center?
  • Options
    aquacommaquacomm Posts: 3 New member
    I'm afraid I'm not immediately sure, please could you link me to the UI equivalent of a former version so I can check our repositories?

    using Microsoft.Win32;
    using SmartAssembly.SmartExceptionsCore;
    using System;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Drawing;
    using System.IO;
    using System.Reflection;
    using System.Threading;
    using System.Threading.Tasks;
    using System.Windows.Forms;

    namespace SAExceptionsCustomUI
    {
        internal class ExceptionReportingForm : System.Windows.Forms.Form
        {
            readonly UnhandledExceptionHandler unhandledExceptionHandler;
            readonly ReportExceptionEventArgs reportExceptionEventArgs;
            private Thread workingThread;

            private System.Windows.Forms.CheckBox continueCheckBox;
            private System.Windows.Forms.Label pleaseTellTitle;
            private System.Windows.Forms.Button dontSendReport;
            private System.Windows.Forms.Button sendReport;
            private System.Windows.Forms.Label pleaseTellMessage;
            private System.Windows.Forms.Panel panelInformation;
            private System.Windows.Forms.Panel panelSending;
            private System.Windows.Forms.Button cancelSending;
            private SmartAssembly.SmartExceptionsCore.UI.WaitSendingReportControl waitSendingReport;
            private SmartAssembly.SmartExceptionsCore.UI.FeedbackControl preparingFeedback;
            private SmartAssembly.SmartExceptionsCore.UI.FeedbackControl connectingFeedback;
            private SmartAssembly.SmartExceptionsCore.UI.FeedbackControl transferingFeedback;
            private SmartAssembly.SmartExceptionsCore.UI.FeedbackControl completedFeedback;
            private System.Windows.Forms.Button ok;
            private System.Windows.Forms.Button retrySending;
            private SmartAssembly.SmartExceptionsCore.UI.HeaderControl headerControl1;
            private SmartAssembly.SmartExceptionsCore.UI.HeaderControl headerControl2;
            private System.Windows.Forms.Button debug;
            readonly System.ComponentModel.IContainer components;
            private System.Windows.Forms.Panel panelEmail;
            private System.Windows.Forms.Label label3;
            private SmartAssembly.SmartExceptionsCore.UI.HeaderControl headerControl3;
            private System.Windows.Forms.Button continueSendReport;
            private System.Windows.Forms.TextBox email;
            private System.Windows.Forms.Label labelEmail;
            private System.Windows.Forms.CheckBox sendAnonymously;
            private SmartAssembly.SmartExceptionsCore.UI.AutoHeightLabel errorMessage;
            private System.Windows.Forms.Button saveAsFile;
            private Button saveReport;
            private bool alreadyRetried;
            public string AttachmentFilePath { get; set; }

    The above is what you provide for us to customize the UI.

    Here's the exception after upgrade to .Net6:

    1>T:\SACustomUI\ExceptionReportingForm.cs(47,45,47,47): error CS0234: The type or namespace name 'UI' does not exist in the namespace 'SmartAssembly.SmartExceptionsCore' (are you missing an assembly reference?)




Sign In or Register to comment.