Comments
Sort by recent activity
Hi Simon,
thank you for your patience and replies. I was just able to build the project with merging all assemblies with no OOM exception , I have closed all the other applications on my system to achieve that, it happened once only. Anyway, merging all didn't solve all these dependencies, types errors I only get when I use merge. Is there any other way to make ExceptionReporting.Report work without merging that sepcific assembly (this is what started the merge option and honestly I think merging assemblies can cause lots of failures in my solution).
If not, all I am trying to do is report handled exceptions (exceptions which has a try/catch) I was thinking if there is a way to call the OnReportException method in the UnhandledExceptionHandlerWithAdvancedUI class (which takes care of unhandeld exceptions). because it is working for unhandled exceptions without the need of merge. I noticed that there is a method UnhandledExceptionHandler.ReportException(Exception e, int methodID, object[] objects) , is it possible to use that and what are the method id and the object parameters?
I guess I am trying to make reporting handled exceptions take the same path as unhandled exceptions using the Unhandled Exception Handler because it is working without the need of a merge.
Can you suggest anything regarding that ? / comments
Hi Simon,
thank you for your patience and replies. I was just able to build the project with merging all assemblies with no OOM exception , I have closed all the other applications on my system to ...
Hi Simon,
My solution is around 1 GB in size and I am merging around 35 assemblies and embedding 24 assemblies. I have automated error reporing, assembly embedding and merging turned on. Does smart assembly have any input size limitation ?
When I was embedding all of them , no issues or errros were there except for the ExceptionReporting. Report error message so I took your advice and merged the assembly that has the handled exception it was getting built sometimes and giving that exception other times. It fixed the ExceptionReporting. Report but cause the spring errors I told you about that had to do with types not found etc. So I thought I will merge all the assemblies that has to do with the application (excluding third party tools which I am embedding) but I was not successful because of the memroy exceptipon.
Thanks / comments
Hi Simon,
My solution is around 1 GB in size and I am merging around 35 assemblies and embedding 24 assemblies. I have automated error reporing, assembly embedding and merging turned on. Does smart...
All of these problems came from me trying to do error reporting for handled exceptions.
Let me give you a background, I was trying to report errors (handled or unhandled) for some of them I need to show the dialog box and for others just report silently in the background. So I got this reply ( http://www.red-gate.com/MessageBoard/vi ... hp?t=15425 ) and it worked, I just modified the OnReportException method as mentioned. Then came the problem of handled exceptions and that they are reported using ExceptionReporting.Report which calls the dialog box (and I needed it to be in the background for some which I am not sure if it can be done because I don't know if ExceptionReporting.Report call goes to the OnReportException method where I am doingthe silent reporting ). Then the problem of ExceptionReporting.Report came and you know the rest.
Sorry for the long description but I thought you should the details. / comments
All of these problems came from me trying to do error reporting for handled exceptions.
Let me give you a background, I was trying to report errors (handled or unhandled) for some of them I need to...