找不到 IDynamicObject?
尝试在此处运行示例代码时: http://www.nikhilk.net /Live-Search-REST-API.aspx
我得到:
错误 52 找不到类型或命名空间名称“IDynamicObject”(是否缺少 using 指令或程序集引用?)E:\repo\NikhilK-dynamicrest-a93707a\NikhilK-dynamicrest-a93707a\Core\DynamicObject .cs 19 43 动态休息
该项目正在运行 .net 4 - 这不应该是标准导入的一部分吗?我错过了什么吗?我需要做什么才能使这项工作成功?
When trying to run the sample code here: http://www.nikhilk.net/Live-Search-REST-API.aspx
I get:
Error 52 The type or namespace name 'IDynamicObject' could not be found (are you missing a using directive or an assembly reference?) E:\repo\NikhilK-dynamicrest-a93707a\NikhilK-dynamicrest-a93707a\Core\DynamicObject.cs 19 43 DynamicRest
The project is running .net 4 - shouldn't this be a part of the standard imports? am i missing something? What do i need to do to make this work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
恐怕该接口已重命名为
IDynamicMetaObjectProvider
(我猜新名称应该更直观......):I'm afraid that the interface has been renamed to
IDynamicMetaObjectProvider
(the new name is supposed to be more intuitive, I guess...):此处查看 github 存储库以获取更新的代码。
Checkout the github repository here for updated code.