阅读背景:

如何在不同项目中的Views / ViewModel之间导航

来源:互联网 

I have 3 different projects for Models, Views, and ViewModels and one other project for UserControls. In the project UserControls I've included a reference to the ViewModels so that I could ViewModels as DataContext for some certain UserControls which I've created. Then in the Views Project I've added a reference to UserControls project. I have a button in one of my user controls in order to show a View however it is not possible because I don't have any access to the Views project and I can't instantiate any of them since adding a reference from Views to UserControls results in a Circular Dependency issue.I have 3 different projects for Models, Views,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: