Obfuscation, Naming Conventions and Class Names

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Obfuscation, Naming Conventions and Class Names

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

Hello,

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,

Tom
photomoose
 
Posts: 1
Joined: Mon Nov 21, 2011 10:10 pm

Postby Brian Donahue » Wed Nov 23, 2011 11: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: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 1 guest