MVVMLight 和 WP7 RTM
之前适用于 WP7 Beta 的 MVVMLight 版本是否适用于 WP7 RTM?
Does the MVVMLight version that worked before with the WP7 Beta work with WP7 RTM?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确实如此,但问题仍然存在。
如果您使用模板,则它不会唯一设置 ProductID。虽然您通常不会在模拟器上看到此问题,但它可能会在实际设备上导致大问题,因为设备会混淆应用程序是什么。
要解决此问题,请打开 Properties\WMAppManifest.xml 文件并修改 App 元素上的 ProductID 属性。最简单的方法是创建一个虚拟 WP7 项目(非 MVVMLight)并从那里复制 ProductID。
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.
我使用二进制文件、代码片段和项目模板,但目前不使用项目模板。 Laurent 正在对框架进行更新,其中包括一些很酷的新功能 (http://blog.galasoft.ch/archive/2011/02/08/mvvm-light-v4-preview-bl0014-release-notes.aspx)我希望他也能解决项目模板和安装过程:)
干杯!
克里斯
http://chriskoenig.net | @克里斯科尼格
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