I\'m doing the example that can be found here. So I\'m trying to run IronPython in a C# script:
Python:
def hello(name):
print \"Hello \" + name
Microsoft.CSharp.dll
contains the dynamic portion of the C# compiler. Any time you use dynamic
in your code, you need a reference to it. I'm not familiar with MonoDevelop, but you'll probably have to set the target framework to 4.0, and add a reference to Microsoft.CSharp.dll
to the project (probably right-click on the project, 'Add Reference', find Microsoft.CSharp).
My guess is that the project you're using was created with a pre-release version of VS, and is missing the proper references.