Windows Phone 7 支持动态关键字吗?
Silverlight 4 添加了对动态关键字的支持。 Windows Phone 7支持也支持吗?
我遇到编译错误,并且无法在网络上找到任何说明是否支持一种方式或另一种方式的来源。
编译错误:
命名空间“System”中不存在类型或命名空间名称“Dynamic”(您是否缺少程序集引用?)
Silverlight 4 added support for the dynamic keyword. Does Windows Phone 7 support also support it?
I am getting compile errors and have been unable to find any source on the web which says whether it is supported one way or the other.
The compile error:
The type or namespace name 'Dynamic' does not exist in the namespace 'System' (are you missing an assembly reference?)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信 WP7 的目标是 .NET Framework 3.5,这意味着没有动态关键字。如果有最终的固件更新,它们可能会支持 .NET Framework 4.0 Client Profile,但不要引用我的话!
I believe WP7 targets .NET Framework 3.5, which means no dynamic keyword. If there is an eventual firmware update they might support .NET Framework 4.0 Client Profile, but don't quote me on that!