I have a project with a single class I do not want obfuscated, but no matter what I do it still stubs methods. I've tried the exclusion list, no effect, I've now tried the attributes, still no effect - it stubs the method, here is how I coded it:
[NineRays.Obfuscator.DontStub, NineRays.Obfuscator.DontEncryptStrings, NineRays.Obfuscator.DontAnonymize]
public void DataPortal_Update()
{
...etc
I've included the ObfuscatorAttrs.cs from the sdk folder in my project.
Is this not the correct way to do it?
I can zip up the whole project and source files and email it in, it's over 17mb let me know if you want it.
In fact I'm not even sure why my code is failing when it's obfuscated, other similar classes have no issues with stubbed methods, the error I get at runtime is:
System.InvalidProgramException: Common Language Runtime detected an invalid program.
at GZTW.AyaNova.BLL.NotifyDeliveryLog.LogDelivery(RootObjectTypes RootObjectType, Guid RootObjectID, Int32 EventType, Guid ToUserID, Boolean Delivered, Guid GuidValue, NotifyDeliveryMethods DeliveryMethod, String ErrorMessage, DateTime DeliveryDate)
I don't care at all if this class is obfuscated, it's a simple class for logging to a database, but it's holding up a whole release at this point.