_DisplayName / DisplayName issues

Topics: Getting Started, UI Architecture
Mar 16, 2013 at 10:55 AM
So all my previous thread questions have thankfully solved themselves, stupid parts on my end. I'm really stumped on this one, though. As soon as Visual Studio's debugger reaches to compile ShellViewModel, it will flip out and say that "1) You must declare a backing field for this property named: _DisplayName"

I've already given DisplayName a value in ShellViewModel's constructor, like so:
public ShellViewModel(IAppcontext appContext)
 base.DisplayName = "App"; 
 // rest of code
And yes, I've already set proper exports, etc. etc. Any suggestions?
Mar 16, 2013 at 12:24 PM
Edited Mar 18, 2013 at 8:27 AM
Is there a season for calling the base DisplayName instead of setting the property directly?
Mar 16, 2013 at 4:30 PM
Edited Mar 16, 2013 at 4:30 PM
So you have other viewmodels that have DisplayName and they don't die?
Mar 16, 2013 at 7:16 PM
Edited Mar 17, 2013 at 12:18 AM
Where do I set the DisplayName directly?

And mvermef Visual Studio does not create any instances of other views, it crashes when it tries to create ShellViewModel.

Edit: Never mind I after spending 4 hours it turned out I needed to declare a few methods virtual, thanks guys :) :)
Mar 18, 2013 at 12:22 AM
Edited Mar 18, 2013 at 12:25 AM
glad you got it solved.