Cannot create an instance of xxxxViewModel

Sep 15, 2010 at 4:29 PM
Edited Sep 15, 2010 at 8:03 PM

When trying to add a second ViewModel to my project, using:

 

    <navigation:Page.Resources>
        <vm:BacklogViewModel x:Key="testVM" />
        <vm:JiraViewModel x:Key="jiraVM" />
    </navigation:Page.Resources>

 

I'm getting a blue squiggly line under the vm statement saying:

"Cannot create an instance of "JiraViewModel".

I've successfully tried the same approach using your demo-application.

I just cannot pin down my issue. Everything seems to be equal between my two models.

 

Problem solved: "One of my Designdata entities was wrong....."

Coordinator
Sep 15, 2010 at 5:32 PM

Glad you got it solved.  I have run into that before as well with missing / incorrect designdata.