Activity overview
Latest activity by hdp
                    
                      
                        More information:  
If I remove references to System.Web.HttpUtility, now it points to  
[System.Web.Services]System.Web.Services.WebServiceBindingAttribute  
But I don't have a WebServiceBindingAttribute in my code. May be is used under a web reference (SOAP) that I am using.  
Hope it helps in your way to find a solution.  
Thanks, 
HDP / comments
                        
                        
                        
                      
                      
                      
                
                  More information:
If I remove references to System.Web.HttpUtility, now it points to
[System.Web.Services]System.Web.Services.WebServiceBindingAttribute
But I don't have a WebServiceBindingAttribut...
                      
                    
                  
                    
                      
                        Brian, it seems that I discovered the source of the errors. And it has a high probability of being a SA bug:  
i) Using IL DASM when it works with a simple add-in, SA adds a try/catch over our try/catch, and it catches System.Exception.  
ii) Using IL DASM when it doesn't work with the real add-in, SA adds a try/catch over our try/catch, and it catches System.Web.HttpUtility (??? and this is not an exception).  
Below is the code. Do you think a workaround for this exists?  
Thanks, 
HDP  
i)  
.try { 
.try { 
... 
... 
... 
}catch [mscorlib]System.Excepton { 
... 
... 
IL_003a:  call       void SmartAssembly.ReportException.ExceptionReporting::Report(class [mscorlib]System.Exception) 
... 
... 
} 
}  catch [mscorlib]System.Exception 
{ 
IL_0079:  ldloc.0 
IL_007a:  ldloc.1 
IL_007b:  ldarg.0 
IL_007c:  call       void SmartAssembly.SmartExceptionsCore.StackFrameHelper::CreateException3(class [mscorlib]System.Exception, 
object, 
object, 
object)  
}   
ii) 
.try { 
.try { 
... 
... 
... 
}catch [mscorlib]System.Excepton { 
... 
... 
IL_003a:  call       void SmartAssembly.ReportException.ExceptionReporting::Report(class [mscorlib]System.Exception) 
... 
... 
} 
}  catch [System.Web]System.Web.HttpUtility 
{ 
IL_004e:  ldloc.0 
IL_004f:  ldarg.0 
IL_0050:  call       void SmartAssembly.SmartExceptionsCore.StackFrameHelper::CreateException2(class [mscorlib]System.Exception, 
object, 
object)  
} / comments
                        
                        
                        
                      
                      
                      
                
                  Brian, it seems that I discovered the source of the errors. And it has a high probability of being a SA bug:
i) Using IL DASM when it works with a simple add-in, SA adds a try/catch over our try/ca...
                      
                    
                  
                    
                      
                        I tried with that with the same effect. There is anything that can interfere with the SA build process?   
Thanks, 
HDP / comments
                        
                        
                        
                      
                      
                      
                
                  I tried with that with the same effect. There is anything that can interfere with the SA build process?
Thanks,
HDP
                      
                    
                  
                    
                      
                        Hi Brian,  
I also processed the DLL. What's strange is that I make it work in a simple project throwing the exception but not in a bigger project. I am doing the same in both projects: throwing a division by zero exception.  
What can break smartassembly working? the other project has many references. If you can give me some direction it will be useful.  
Thanks, 
HDP / comments
                        
                        
                        
                      
                      
                      
                
                  Hi Brian,
I also processed the DLL. What's strange is that I make it work in a simple project throwing the exception but not in a bigger project. I am doing the same in both projects: throwing a di...
                      
                    
                  
                    
                      
                        Hi,  
I followed the instructions. But after processing the assembly (and copying it to the original name) I receive the error pointed in the subject.   
Thanks, 
HDP / comments
                        
                        
                        
                      
                      
                      
                
                  Hi,
I followed the instructions. But after processing the assembly (and copying it to the original name) I receive the error pointed in the subject.
Thanks,
HDP
                      
                    
                  
                    
                      
                        Automated Error Reporting for Outlook Add-ins?
                        
                        
                        
                        
                      
                      
                      
                
              Hi,
I am testing SA for reporting exceptions within an Outlook plugin. It doesn't seem to work because it's a DLL and there is a warning saying to call ExceptionReporting.Report(Exception) manually...