We Have A C# Application That Runs On Many Client Machines And We Have Very Lines Of Code Like This:
try{exceptionalMethod();}//all type of exceptions may be throw here (system.exception,our business exceptions ,...)
catch{MessageBox.Show("Error");randomMethod();}//we don't have any log here
How We Can Log All CLR First Chance Exceptions In Log File In Production Environment.
Attention: We Can't Install AnyThing On the client's Machine(If We Can, We Use Adplus And Windows Debuggers With Very Simple Configuration File).
But We Can Insert Minimum Changes In Code And Ship New Version.