Comments
4 comments
-
Looks like the property grid reads the names of something that has been obfuscated (enum members it looks like) by reflection.
Obfuscators can't guarantee to preserve behaviour when reflection is used, of course.
You can either exclude it from obfuscation using the SmartAssembly project settings, or I prefer using attributes:
http://www.red-gate.com/supportcenter/C ... .5/toc.htm -
Thanks a lot guys for your help. Thru smartassembly's project settings, I selected that class not to be obfuscated. It then worked.
Alex, you said -
You can either exclude it from obfuscation using the SmartAssembly project settings, or I prefer using attributes:
http://www.red-gate.com/supportcenter/C ... .5/toc.htm
Why is it preferable to use attributes rather than going into obfuscation settings in SmartAssembly ? -
I like to keep the information that they must be excluded from obfuscation in the code, where you can see it if you add, for example, another element to the enum, or another similar enum. You won't forget to exclude it from obfuscation then.
-
Thanks for helping me out Alex. I appreciate your help.
Add comment
Please sign in to leave a comment.
I am using SmartAssembly 5.5 to obfuscate my program which is made in VB.NET and uses .net 3.5. It's a windows forms program.
Now what has happened is after just selecting obfuscation option in smartassembly when I run my exe and open a form which has a property grid, some of items appear as junk. The image below will show you what I mean.
Can anyone help me out ? To me it seems that there is a bug in SmartAssembly.
What should I do?
Thanks,
Cheers,
Saurabh
[/img]