David,
I have used Xenocode successfully for about 3 years now. Since I migrated my
app from VS .NET 2003 to VS2005, I upgraded my older Xenocode 2004 to
Postbuild 2007, the new name of the product.
Broadly, there are 4 features that you can use, namely: Symbol Renaming,
Control Flow Obfuscation, ILDASM Suppression and String Encryption. I found
that for my CF1 app (when it was in VS .NET 2003) that I could only use
Symbol Renaming and Control Flow Obfuscation. Both ILDASM Suppression and
String Encryption caused problems in my app and so I stopped using them.
After migrating my CF1 app to VS2005 (still using CF1 at the moment) and
Postbuild 2007, I have not had the time to see if ILDASM Suppression and
String Encryption still fail or not.
Hopefully this information my help you.
Regards,
Neville Lang
[quoted text, click to view] "David" <guiness@nospam.nospam> wrote in message
news:2479FE4F-73B5-4D15-B37C-8C4227CF738B@microsoft.com...
>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
>
> --
> David
>