IDynamicObject could not be found?

1k views Asked by At

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?

2

There are 2 answers

1
Tomas Petricek On BEST ANSWER

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

0
lalibi On

Checkout the github repository here for updated code.