WinRT MVVM Light Sample Project

心不动则不痛 提交于 2019-12-03 06:54:37

There is an (older) example of using MVVM Light with windows 8 found here. There are also templates and Samples as part of the MVVM Light source found here.

Edit: Here is an msdn example using MVVM Light.

Jozef Cechovsky

What about this

But I did not try it. I'm using Portable class library (with targets Windows 8.1 and .NET x.xx) and this library is referenced to WinRT project. MvvmLight for PCL you can find on this link

Problem is, that you can't access Local files and Local settings but you can inject it from Presentation project to Portable class library at the start.

This solution has a lot of advantages and one of the is : easiest unit testing.

For more info look this stack overflow thread

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!