I am using .net Reactor to obfuscate a data layer assembly containing LinqToSql classes. On invoking the assembly, i am getting the following error..
Bad Storage property: '_ApplicationId' on member 'RCSQLData.Application_DB.ApplicationId'
I am using the 'Library' mode and have enabled 'Necrobit' and 'obfuscation'.
Is it possible to obfuscate LinqToSQL classes or is it the old reflection walnut again?
Michael
Its becuase LINQ-toSQL uses Reflection very heavily. It cannot find the original properties becuase it tries to search for them by their original names (which are now obfuscated).
The solution is to exlcude the proper classes/members from renaming. Some such as Crypto Obfuscator will do all this automatically for you by detecting LINQ-SQL usage in your code.