如何将解决方案转换为 Windows Phone 7?
必须有一种比阅读整个源代码并检查每一行与 msdn 文档
有建议吗?
There has to be an easier way than to read the entire source code and check each line against what's compatible from the msdn docs
Suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我假设您的意思是从 Silverlight 解决方案到 Windows Phone 7 解决方案?无论如何,答案是否定的——没有简单/容易的迁移路径。只需将项目文件复制到新的 WP7 项目中,然后开始解决编译错误。
有一个工具可以帮助您创建可移植代码,即可移植类库 它允许您创建可以链接到 Silverlight、WP7、WPF、XNA 解决方案的程序集。但是,您可以共享的代码有些有限。
I am assuming you mean from a Silverlight solution to a Windows Phone 7 solution? Anyhow, the answer is no - there is no simple / easy migration path. Simply copy the project files into a new WP7 project and start working through the compilation errors.
There is on tool that can help you creat portable code, the Portable Class Library which allows you to create assemblies which can be linked to Silverlight, WP7, WPF, XNA solutions. However, the code that you can shae is somewhat limited.