Event handlers are \"protected\" by default, and i cannot exclude all \"protecteds\" because there are some other \"protected\" memebers in assembly which should be obfuscated.
And i cannot change all handlers to public, because there are too many of them, also because of this i cannot add all of them to excludes.
There are several ways to solve this problem:
1. Mark event handlers that should be exluded from obfuscation by NotObfuscate attribute (source of attributes and service NineRays.ObfuscationAttributes.dll assembly you can find in the SDK\\Obfuscation Attributes. You can add source or this assembly to your project to mark members by obfuscation control attributes).
2. Use ExclusionPatterns collection to exclude these members from obfuscation, by using regular expressions, for example On* pattern will exlude all members that start with On
If i compile the project in one assembly using Web Deployment Project then it seems all pages will be comiled in as resources. Do your obfuscater is able to process resources as well? I mean if it changes OnSmth_Click in the code, will it change in the pages comiled in all calls to ths function, e.g. onclick=\"OnSmth_Click()\" ?
Yes, if these compiled pages assembly is included to obfuscated project. Spices.Obfuscator will obfuscate all references to obfuscated members (cross-obfuscated).