How to exclude a Method or a Class from in SmartAssembly 8
Mohsen
Posts: 3 New member
Hello guys,
I hope you are doing well, I have a question. Is it possible to exclude a class or a method from obfuscation in Smart Assembly 8?
I'm using C# and WinForms.
Best Regards
Tagged:
Answers
Yes certainly, please use the 'DoNotObfuscate' attribute.
You can find more details here
https://documentation.red-gate.com/sa/using-custom-attributes
Do you happen to know if the v7 & v8 projects are using the same settings please?
Without knowing exactly what obfuscation options you're using it's just an estimation presently, but if you're using string encoding that could potentially be an issue also and you can exclude the method from such in a similar manner as referenced in the same article.
If that fails, should wish to, we'll could create a support incident for you to share your project for us to examine?
https://documentation.red-gate.com/sa/using-custom-attributes