ive got a method which uses ITextSharp library to generate a PDF document, then calls Process.Start(...) to open the pdf. This runs fine when not obfuscated but after i run ConfuserEx, the app just crashes and doesnt go into the try/catch error handler. I tried attaching to the debugger but it keeps loading debug symbols and at the end of it still doesnt show me where the error is.
UPDATE: after some initial trial and error debugging, the app crash seems to occur right when the code calls:
using (PdfWriter w = PdfWriter.GetInstance(doc, fs))
Version of ItextSharp is latest 5.5.5 from nuget but i dont think the assembly is problem as it works fine before obfuscating my assemblies.
is there any way i can enable some diagnostic debugging outputthis better to see what might be going wrong? Only happens in this area of code.
Sorry, false alarm.. i had the windows SDK "AppVerifier" running on my EXE and it was crashing on the instantiation of iTextSharp library so i think the problem is isolated in that, not as part of confuserEx.
ive got a method which uses ITextSharp library to generate a PDF document, then calls Process.Start(...) to open the pdf. This runs fine when not obfuscated but after i run ConfuserEx, the app just crashes and doesnt go into the try/catch error handler. I tried attaching to the debugger but it keeps loading debug symbols and at the end of it still doesnt show me where the error is.
UPDATE: after some initial trial and error debugging, the app crash seems to occur right when the code calls:
using (PdfWriter w = PdfWriter.GetInstance(doc, fs))
Version of ItextSharp is latest 5.5.5 from nuget but i dont think the assembly is problem as it works fine before obfuscating my assemblies.
is there any way i can enable some diagnostic debugging outputthis better to see what might be going wrong? Only happens in this area of code.