开发者

IDynamicObject could not be found?

开发者 https://www.devze.com 2023-01-03 18:26 出处:网络
When trying to run the sample code here: http://www.nikhilk.net/Live-Search-REST-API.aspx I get: Error 52The type or namespace name \'IDynamicObject\' could not be found (are you missing a using di

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开发者_JS百科.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?


I'm afraid that the interface has been renamed to IDynamicMetaObjectProvider (the new name is supposed to be more intuitive, I guess...):

  • See MSDN documentation for the type


Checkout the github repository here for updated code.

0

精彩评论

暂无评论...
验证码 换一张
取 消