Problem with compiling csdl


I get two error when I try to compile csdl:

The code is:
var client = new DataSiftClient(“ImNotTelling”, “NietherAmI”);
var compiled = client.Pylon.Compile(filter.Csdl);
var hash = compiled.Data.hash;
3r line seems to be the problem.

Errors are:
1.) One or more types required to compile a dynamic expression cabnnot be found. Are you missing a reference. (I’m not as far as I can tell)

2.) Predefined type 'Microsoft.CSharp.RuntimeBinder.Binder is not defined or imported. (???)


It looks like these may be issues with your environment, rather than issues with the client. A quick Google search reveals similar problems caused by dependency issues:



That’s great. I can’t help but wonder why this happened. I’ve never had an app choke on the lack of Microsoft.CSharp before. In fact other implementations of the Pylon Compile method has never thrown that error.


I’m not sure I can give you any more advice here I’m afraid. The fact that other implementations of the same method succeeded, and this last one failed suggests that there are some differences in how you’ve implemented the method this time round.
Have you managed to get the compile method to work from the examples included within the library?