_DisplayName / DisplayName issues

Topics: Getting Started, UI Architecture
Mar 16, 2013 at 9: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:
[ImportingConstructor] 
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 11:24 AM
Edited Mar 18, 2013 at 7:27 AM
Is there a season for calling the base DisplayName instead of setting the property directly?
Mar 16, 2013 at 3:30 PM
Edited Mar 16, 2013 at 3:30 PM
So you have other viewmodels that have DisplayName and they don't die?
Mar 16, 2013 at 6:16 PM
Edited Mar 16, 2013 at 11:18 PM
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 17, 2013 at 11:22 PM
Edited Mar 17, 2013 at 11:25 PM
glad you got it solved.