ConfUserEx excluding a namespace from obfuscation

做~自己de王妃 提交于 2019-12-21 17:33:01

问题


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.


回答1:


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")]



回答2:


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.



来源:https://stackoverflow.com/questions/29940328/confuserex-excluding-a-namespace-from-obfuscation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!