Obfuscation, Naming Conventions and Class Names

.NET obfuscator and automated error reporting

Obfuscation, Naming Conventions and Class Names

Postby photomoose » Mon Nov 21, 2011 9:18 pm


I am using Caliburn Micro and Castle Windsor in my WPF application and have a number of naming conventions. For example, when Caliburn loads a class called SomethingViewModel, it will automatically initialise a class called SomethingView.

I need to obfuscate my code, but cannot change the class names otherwise the naming conventions will not work.

Is it possible to obfuscate the entire class without obfuscating the class name?

Thanks in advance,

Posts: 1
Joined: Mon Nov 21, 2011 9:10 pm

Postby Brian Donahue » Wed Nov 23, 2011 10:02 am

Hi Tom,

You can try applying the DoNotObfuscate attribute to your class before running SmartAssembly over it. This should exclude the type definition but not the type's members. Please see:
http://www.red-gate.com/supportcenter/C ... .0/toc.htm
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests