Red Gate forums :: View topic - Obfuscation, Naming Conventions and Class Names
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Obfuscation, Naming Conventions and Class Names

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
photomoose



Joined: 21 Nov 2011
Posts: 1

PostPosted: Mon Nov 21, 2011 10:18 pm    Post subject: Obfuscation, Naming Conventions and Class Names Reply with quote

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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6582

PostPosted: Wed Nov 23, 2011 11:02 am    Post subject: Reply with quote

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/Content?p=SmartAssembly&c=SmartAssembly/help/6.0/SA_UsingCustomAttributes.htm&toc=SmartAssembly/help/6.0/toc.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group