Click here to Skip to main content
15,565,403 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The problem I m facing is that I have a Class Library (.DLL) containing some code;
When I obfuscate the library I m no longer able to use it in project I m using DotFuscator Community edition bundled with VS 2005.

Could someone suggest how to do this.....?

Do I need to skip renaming classes methods then what's use of obfuscation ?

Thanks for help.......
Posted

Dotfuscator has a "Library" mode for just that purpose - provided you haven't declared unnecessary properties and methods as public, protected or internal it works pretty well.
 
Share this answer
 
Comments
Mantu Singh 25-Apr-12 6:06am    
Thanks Sir;

But the simple library i have is a simple class with public method if I skip renaming will the Class be obfuscated keeping its name for usability
There are a few things to consider here. As you have developed your application using a managed language, is it worth the effort of attempting to obfuscate it? It doesn't take a great deal of effort to reverse even an obfuscated application. So, if you are attempting to put something in place like a licensing system, then it's not really secure.

Another point to consider is that you are using the community edition of DotFuscator. This means that it's the weakest version of the application when it comes to obfuscation. If you must obfuscate your code, you really need to look into more robust obfuscators.
 
Share this answer
 
Comments
Mantu Singh 25-Apr-12 5:58am    
Thanks Sir;
Your suggestion is worth having
But I m doing this for my knowledge

My Purpose is to use library after obfuscation and see that it works well
when we add reference to other project.

i want the code to be secure but classes and methods defined be usable too.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900