9

Occurs when binding my view to the view model.

Error description:

System.MissingMethodException: 'No parameterless constructor defined for type 'yournamespace.view.pagename'.'
bryanjez
  • 439
  • 4
  • 8

1 Answers1

28

It turns out I just forgot to register the View and the ViewModel into MauiProgram.cs

bryanjez
  • 439
  • 4
  • 8