SmartAssembly 6 does not obfuscate my WPF application

I disassembled my WPF application in dnSpy, I do not see any obfuscated codes, they are all plain.
I'm using SmartAssembly 6.11.1.406
Please fix the problem
Tagged:

Comments

  • ImcoolImcool Posts: 6 New member
    When will SmartAssembly 6 ever support WPF application obfuscation???
  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi @Imcool,

    SmartAssembly will generally exclude things from obfuscation if it thinks that obfuscating will break the application (similar to how SmartAssembly excludes public members in DLLs as discussed in your previous post). You unfortunately may see a lot more exclusions in WPF code as SmartAssembly is trying to make sure that anything called by the original name in your xaml can still be found at runtime.

    (If you enable logging as described here, restart SmartAssembly, and then build again, the log file in %localappdata%\Red Gate\SmartAssembly 6 will provide the reasons for exclusions.)

    As in your previous post though, I'm afraid there isn't a way to force obfuscation on anything that was automatically excluded at the moment. :/

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.