SA with MVVM and XAML binding WP7
cohowap
Posts: 5
Hello,
I have a WP7 app I am trying to obfuscuate, but am having horrible results. First, it appears error reporting is not working.
But other than that, I think the issue is because SA is renaming my ViewModel properties that are bound to the View (xaml) and raised when changed (from a string).
Any idea how SA handles MVVM? Should I be skipping all the fields?
Has anyone successfully used SA for a MVVM project?
Thanks!
I have a WP7 app I am trying to obfuscuate, but am having horrible results. First, it appears error reporting is not working.
But other than that, I think the issue is because SA is renaming my ViewModel properties that are bound to the View (xaml) and raised when changed (from a string).
Any idea how SA handles MVVM? Should I be skipping all the fields?
Has anyone successfully used SA for a MVVM project?
Thanks!
Comments
Obfuscating WPF at the moment is troublesome because the BAML doesn't get rewritten when the member names are being changed by SmartAssembly. There are a very basic guide for troubleshooting WPF obfuscationon the Red Gate support site. Hopefully this is helpful.
I hope Brian's guide helps you with the binding problems.
I'm very interested in your use of exception reporting on the phone. As you can probably tell, this is a relatively new feature. We'd really appreciate if you could give more details of the situation you found that error reporting doesn't work with WP7 so we can fix it.
Thanks,
Developer,
Red Gate .NET Tools