简体   繁体   English

将WP7项目转换为浏览器的Silverlight

[英]Convert WP7 project to browser's silverlight

有什么想法\\工具如何将silverlight wp7 project转换为浏览器的silverlight3\\4\\5

Search and replace generally works well. 搜索和替换通常效果很好。 Replace PhoneApplicationFrame with System.Windows.Controls.Frame, PhoneApplicationPage with System.Windows.Controls.Page. 用System.Windows.Controls.Frame替换PhoneApplicationFrame,用System.Windows.Controls.Page替换PhoneApplicationPage。 That should get you quite far towards the solution. 那应该使您对解决方案有很大的了解。 Create an empty WP7 SL project and an empty desktop SL project and compare the csrpoj files for some more differences - you will probably want to either move the WP7 files from your application to a new empty SL project or replace bits of XML in the csproj file. 创建一个空的WP7 SL项目和一个空的桌面SL项目,并比较csrpoj文件是否存在更多差异-您可能希望将WP7文件从应用程序移动到新的空SL项目中,或者替换csproj文件中的XML位。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM