I modified the example that comes with the new version of Roslyn that was released yesterday to use dynamic and ExpandoObject but I am getting a compiler error which I am no
I think that you should reference the Microsoft.CSharp.dll assembly
Microsoft.CSharp.dll