开发者

MVVMLight and WP7 RTM

开发者 https://www.devze.com 2023-01-17 09:41 出处:网络
Does the MVVMLight version that worked before with th开发者_开发技巧e WP7 Beta work with WP7 RTM?It sure does, but the one gotcha that still exists.

Does the MVVMLight version that worked before with th开发者_开发技巧e WP7 Beta work with WP7 RTM?


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号