MVVMLight and WP7 RTM

不羁的心 提交于 2019-12-11 12:39:17

问题


Does the MVVMLight version that worked before with the WP7 Beta work with WP7 RTM?


回答1:


It sure does, but the one gotcha that still exists.

If you're using the templates, is that it doesn't set the ProductID uniquely. While you tend not to see this problem pop up on the emulator, it can cause big problems on an actuall device as the device get's confused with what application is what.

To fix the problem, open up the Properties\WMAppManifest.xml file and modify the ProductID attribute on the App element. The easiest way to do this is to create a dummy WP7 Project (non-MVVMLight) and copy the ProductID from there.




回答2:


I use the binaries, the snippets and the item templates, but I do not currently use the Project templates. Laurent is working on an update to the framework that includes some cool new features (http://blog.galasoft.ch/archive/2011/02/08/mvvm-light-v4-preview-bl0014-release-notes.aspx) and I'm hoping that he also addresses the project templates and the installation process :)

Cheers! Chris

http://chriskoenig.net | @chriskoenig



来源:https://stackoverflow.com/questions/3796372/mvvmlight-and-wp7-rtm

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