Red Gate forums :: View topic - SA with MVVM and XAML binding WP7
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

SA with MVVM and XAML binding WP7

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
cohowap



Joined: 02 Jun 2011
Posts: 3

PostPosted: Thu Jun 02, 2011 2:23 pm    Post subject: SA with MVVM and XAML binding WP7 Reply with quote

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!
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6581

PostPosted: Fri Jun 03, 2011 3:51 pm    Post subject: Reply with quote

Not sure about MVVM and Phone, but we have had a lot of interest in WPF and Silverlight, which are the basis for most Phone applications.

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 obfuscation on the Red Gate support site. Hopefully this is helpful.
Back to top
View user's profile Send private message
Alex.Davies



Joined: 02 Dec 2008
Posts: 335
Location: Cambridge, uk

PostPosted: Mon Jun 13, 2011 2:09 pm    Post subject: Reply with quote

Hi cohowap,
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,
_________________
Alex
Developer,
Red Gate .NET Tools
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group