IDynamicObject could not be found?
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.
精彩评论