I am trying to store on our SQL Server 2005 an assembly obfuscated with SmartAssembly 6.
When I try to encrypt the strings, it makes an assembly that is not valid for store into SQL Server 2005.
I tried with different configurations, and it also fails the simplest (no obfuscation, string encoding, no string encoding improvement, no string encrypt, no strnig cache)
That is a problem because we want to encrypt all the strings into the assembly.
This is the message:
Msg 6211, Level 16, State 1, Line 3
CREATE ASSEMBLY failed because type 'SmartAssembly.StringsEncoding.Strings' in safe assembly '<OUR_ASSEMBLY_NAME>' has a static field 'MustUseCache'. Attributes of static fields in external_access assemblies must be marked readonly in Visual C#, ReadOnly in Visual Basic, or initonly in Visual C++ and intermediate language.
Thanks
When I try to encrypt the strings, it makes an assembly that is not valid for store into SQL Server 2005.
I tried with different configurations, and it also fails the simplest (no obfuscation, string encoding, no string encoding improvement, no string encrypt, no strnig cache)
That is a problem because we want to encrypt all the strings into the assembly.
This is the message:
Msg 6211, Level 16, State 1, Line 3
CREATE ASSEMBLY failed because type 'SmartAssembly.StringsEncoding.Strings' in safe assembly '<OUR_ASSEMBLY_NAME>' has a static field 'MustUseCache'. Attributes of static fields in external_access assemblies must be marked readonly in Visual C#, ReadOnly in Visual Basic, or initonly in Visual C++ and intermediate language.
Thanks