-
|
I am trying the SimpleToDoList sample and it is throwing the error The property 'AddItemCommand' does not exist on 'SimpleToDoList.ViewModels.MainWindowViewModel' On this My MainWindowViewModel very clearly has this function So why can't it find it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Hi @mscheaf if the error is showing up in the IDE please try to build or run once. The sourcegen might not have it picked up yet. If running does throw, please upload the project without |
Beta Was this translation helpful? Give feedback.
-
|
OK so I created a whole new solution and redid everything from the start, and it gives me the same error. But now it will at least run, and the preview works it just lists a problem and a red squiggle line on every binding to a relay command I have. And again, this works fine if I just open the project folder and bypass the solution, it is only when I open the solution folder that it gets angry. I don't know. |
Beta Was this translation helpful? Give feedback.
OK so I created a whole new solution and redid everything from the start, and it gives me the same error. But now it will at least run, and the preview works it just lists a problem and a red squiggle line on every binding to a relay command I have. And again, this works fine if I just open the project folder and bypass the solution, it is only when I open the solution folder that it gets angry. I don't know.