G
Guest
I downloaded a trial copy of Xenocode, but it breaks my application.
I loaded my CF1 app and two assemblies, and selected the "Minimize size -
recommended for CF apps" option. I also turned off "metadata reduction" (so I
could use mapping file feature) and "dead code elimination" (because my app
kept bombing with a message saying things had been dead-code stripped) and
added a [Xenocode.Client.Attributes.RenameSymbol(false)] attribute in front
of every property that is used by reflection.
Now I'm getting MissingMethodException errors. In some cases, these are
thrown by CF when trying to call my overrides for such methods as OnClosing,
which Xenocode has elected not to rename (obfuscate). In other cases, they're
thrown by my overrides trying to call the CF base class.
If I tell Xenocode to rename the OnClosing method, this particular problem
goes away. My application then bombs with the next error, and so on. I've
spent two days chasing my tail :-(
Has anyone run into these issues? Is there a guide somewhere on how to
configure things? Can anyone recommend a different obfuscator?
TIA
I loaded my CF1 app and two assemblies, and selected the "Minimize size -
recommended for CF apps" option. I also turned off "metadata reduction" (so I
could use mapping file feature) and "dead code elimination" (because my app
kept bombing with a message saying things had been dead-code stripped) and
added a [Xenocode.Client.Attributes.RenameSymbol(false)] attribute in front
of every property that is used by reflection.
Now I'm getting MissingMethodException errors. In some cases, these are
thrown by CF when trying to call my overrides for such methods as OnClosing,
which Xenocode has elected not to rename (obfuscate). In other cases, they're
thrown by my overrides trying to call the CF base class.
If I tell Xenocode to rename the OnClosing method, this particular problem
goes away. My application then bombs with the next error, and so on. I've
spent two days chasing my tail :-(
Has anyone run into these issues? Is there a guide somewhere on how to
configure things? Can anyone recommend a different obfuscator?
TIA