Windows Phone 7/WPF-共享代码库 [英] Windows Phone 7/WPF - Sharing a codebase

查看:103
本文介绍了Windows Phone 7/WPF-共享代码库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我过去开发过Windows Mobile应用程序,并且总是发现,当尝试与Windows(Winforms/WPF)应用程序共享代码库时,通常情况变得很困难. Windows Phone 7是否已对此进行了更改?最好将WP7应用程序添加到包含WPF应用程序和ASP.NET网站的解决方案中,并使所有内容共享相同的代码库.

I've developed Windows Mobile apps in the past and have always found that when trying to share a codebase with Windows (Winforms/WPF) apps, generally things get very difficult. Has this changed with Windows Phone 7? It would be great to add a WP7 app to a solution containing a WPF app and ASP.NET site and have everything share the same code base.

推荐答案

看看可移植库工具CTP

Have a look at the Portable Library Tools CTP here

这是一个Visual Studio加载项,使您可以创建在各种.NET平台上运行的库,而无需重新编译.

It's a Visual Studio add-in that enables you to create libraries that run on a variety of .NET platforms without recompilation.

这篇关于Windows Phone 7/WPF-共享代码库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆