Closed LennardF1989 closed 8 years ago
It seems to work if I change
namespace 'myassembly.something.mynamespace':
to
namespace('myassembly.something.mynamespace'):
... ie. adding brackets around the namespace string.
Going to try that out, saves me a lot of work!
Hey @yck1509, I think the wiki is wrong, and is leading people to problems. ie. this page: https://github.com/yck1509/ConfuserEx/wiki/Declarative-Obfuscation
I think the incorrect syntax is the actual problem behind this issue, as well as #203, and maybe more.
Indeed, I changed that syntax in the latest version. I've updated the wiki to reflect this change.
I tried to excude 3 namespaces from renaming their class-names using the following:
But upon obfuscating, it would complain it found an unexpected token:
myassembly.something.mynamespace
I based the Feature on this issue: https://github.com/yck1509/ConfuserEx/issues/203
The last comment in that issue also mentions the exception about the token I mentioned.