I get the following error:
\"One or more types required to compile a dynamic expression cannot be found. Are you missing references to Microsoft.CSharp.dll and System.Core.dll\"
You might want to check out this blog post. There are some versioning conflicts with Silverlight 4 and VS 2010 RC 1 that might be causing this problem.