Closed FaustPipeDream closed 4 years ago
I found the ViewModel can't change namespace after create, but why?
The name and namespace of the View has to match the ViewModel. Please read this doc
The name and namespace of the View has to match the ViewModel. Please read this doc
Yeah, That's a namespace problem,I see. The namespace of the View is not match the VeiwMdel.Thank you.
I'm using
WindowManager.ShowWindow
open a new window. At first, It work fine,But after I change the namespace of theOneViewModel
fromMyApplication.ViewModels
toMyApplication.ViewModels.First
. this error occur,And it work again after the namespace back toMyApplication.ViewModels