Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ConfUserEx excluding a namespace from obfuscation

Tags:

c#

obfuscation

In ConfUserEX Obfuscation (https://yck1509.github.io/ConfuserEx/)

How to EXCLUDE just one Namespace from rename module?

For example :
[assembly: Obfuscation(Exclude = true, Feature = "namespace 'ABC.XYZ':-rename")]

Looks it does not work. I have a objectmodels for Json parsing in a namespace and this throwing error. Also I am using .crproj file for obfuscating using CLI.

like image 745
Kumar S Avatar asked Apr 29 '15 09:04

Kumar S


2 Answers

Please download latest version v0.6.0 by this link. Exclude field from true to false. And that's it.

For example:

[assembly: Obfuscation(Exclude = false, Feature = "namespace 'Your.Namespace':-rename")]
like image 165
Nazar Mandzyk Avatar answered Oct 16 '22 19:10

Nazar Mandzyk


According to the documentation , if you want to exclude a namespace, the correct way to do it is to write a line like:

[assembly: Obfuscation(Exclude = false, Feature = "namespace('namespaceToExclude'):-rename")]

This should be written in the Assembly.info file of the project.

like image 41
ion miron Avatar answered Oct 16 '22 19:10

ion miron