WinRT MVVM Light Sample Project

前端 未结 2 1835
清酒与你
清酒与你 2021-02-09 02:12

If anyone starts developing Windows 8 metro applications using MVVM Light please help me to create a Windows 8 (WinRT) project template. I get bored by using Microsoft ‘s Layou

相关标签:
2条回答
  • 2021-02-09 02:54

    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

    0 讨论(0)
  • 2021-02-09 02:55

    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.

    0 讨论(0)
提交回复
热议问题