Silverlight 和 Windows Phone 7 dll 兼容性

发布于 2024-09-16 11:18:54 字数 52 浏览 1 评论 0原文

为 Silverlight 构建的库是否与 Windows Phone 7 应用程序兼容?

Is a library built for Silverlight compatible with a Windows Phone 7 application?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

并安 2024-09-23 11:18:54

Windows Phone 7 在 Silverlight 3 上运行并具有一些附加功能,具体取决于情况。

有关 Silverlight“正确”和适用于手机的 Silverlight 之间的差异的更深入列表,请查看此页面 Windows Phone 上的 Silverlight 和 Windows 上的 Silverlight 之间的差异

另请参阅此页面以获取类库支持对于 Windows Phone,它很好地概述了支持的内容和不支持的内容。

有关此类内容的一些基本信息,您还可以查看此 快速入门教程

It depends, Windows Phone 7 runs on Silverlight 3 with some added features.

For a more in depth list of the differences between, Silverlight "proper" and Silverlight for the phone, check this page Differences Between Silverlight on Windows Phone and Silverlight on Windows.

Also have a look at this page for Class Library Support for Windows Phone, it outlines pretty well what's supported and what's not.

For some basic info about this sort of stuff, you can also have a look at this quick start tutorial

山川志 2024-09-23 11:18:54

如果你问编译的库是否兼容,答案是否定的。您无法为 Silverlight Web 构建 .xap 文件或 .dll 并将其部署到手机。

另一方面,如果您询问是否可以为手机重建它,答案非常接近是,特别是如果程序非常简单的话。

我证明了这个想法 此处,但需要指出的是,它们不是同一平台;一旦你完成了一个非常简单的应用程序,差异就会变得更加明显。

谢谢
-杰西

If you are asking whether the compiled library is compatible, the answer is no. You cannot build a .xap file or a .dll for Silverlight web and deploy it to the phone.

On the other hand, if you are asking whether you can rebuild it for the phone, the answer is very close to yes, especially if the program is pretty simple.

I demonstrate that idea here, but it is important to point out that they are not the same platforms; and once you get past a pretty simple application the differences become a bit more noticeable.

Thanks
-jesse

泛滥成性 2024-09-23 11:18:54

只要您不调用平台不支持的 dll 中的 API,就可以执行此操作。

Provided you don't call API's in the dll that aren't supported by the platform, you can do this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文