4

I am using Eazfuscator.NET to obfuscate my project.

I sifted through the documentation of Eazfuscator (perhaps not in-depth enough) and was wondering how to exclude specific .cs files of my project from obfuscation.

Tunaki
  • 132,869
  • 46
  • 340
  • 423
Kevin Wang
  • 3,290
  • 1
  • 28
  • 40

1 Answers1

6

I've found the answer after reading more in-depth into the documentation, haha:

Here is for future reference if anyone else is looking into it:

[System.Reflection.ObfuscationAttribute(Feature = "renaming", ApplyToMembers = true)]

^This is for disabling class and its members renaming only.

Kevin Wang
  • 3,290
  • 1
  • 28
  • 40
  • Hi Kevin, any idea how can I set it for Windows store class library? As System.Reflection.ObfuscationAttribute not there in Windows store. – Tarak Jan 08 '14 at 11:04
  • @Tarak - Just add a source file _"C:\Program Files\(x86)\Eazfuscator.NET\Code Snippets\C#\ObfuscationAttributes.cs"_ to your project. After that you can use `ObfuscationAttribute` the same way as a built-in attribute. – Evgeni Oct 22 '14 at 21:59