加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

为WP7构建.NET dll

发布时间:2020-12-14 01:42:26 所属栏目:Windows 来源:网络整理
导读:如何将C#dll移植到WP7? 我在桌面上成功构建了.dll源代码但是当我尝试在WP7项目上引用dll时,我收到以下错误: Reference cannot be added to c:pathtomy.dll because it was not built using the Windows Phone runtime. Windows Phone projects will wor
如何将C#dll移植到WP7?

我在桌面上成功构建了.dll源代码但是当我尝试在WP7项目上引用dll时,我收到以下错误:

Reference cannot be added to c:pathtomy.dll because it was not built using
the Windows Phone runtime. Windows Phone projects will work only with
Windows Phone assemblies.

有没有一种使用Windows Phone运行时构建它的简单方法?

创建Windows Phone Library项目,将源代码复制到该项目并解决出现的所有错误.而且你可以从Windows Phone项目中引用这个dll

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读