Crash with MVVM and code behind. #12257
-
I am struggling using MAUI with the MVVM code pattern using Visual Studio Version 17.5.0 Preview 1.0. If I run the same code under the Android emulator I get a much more helpful error message (note, I have all exceptions enabled in Visual Studio): I see many examples of constructor injection into the view code behind so I don't understand why I need a parameterless constructor. Can anyone point out what I am doing wrong? Andy |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Never mind, I forgot to register my routes 🤦♂️ |
Beta Was this translation helpful? Give feedback.
Never mind, I forgot to register my routes 🤦♂️