ConfUserEx excluding namespace from obfuscation
At ConfUserEX Obfuscation ( https://yck1509.github.io/ConfuserEx/ )
How to EXCEPT only one namespace from the rename module?
For example: [assembly: Obfuscation(Exclude = true, Feature = "namespace 'ABC.XYZ':-rename")]
It doesn't seem to work. I have an object model for parsing Json in a namespace and this throwing error. Also I am using a .crproj file for obfuscation using the CLI.
+3
source to share
2 answers
According to the documentation , if you want to exclude the namespace, the correct way to do it is to write a line like:
[assembly: Obfuscation(Exclude = false, Feature = "namespace('namespaceToExclude'):-rename")]
This should be recorded in the Assembly.info file of the project.
0
source to share