title: C# dynamic compilation and "Microsoft.CSharp.dll" error
body: <p>I'm doing the example that can be found <a href="http://urda.cc/blog/2010/09/24/ironpython-and-csharp/" rel="nofollow noreferrer">here</a>.
  So I'm trying to run IronPython in a C# script:</p>
  
  <p>Python:</p>
  
  <pre><code>def hello(name):
      print "Hello " + name + "! Welcome to IronPython!"
      return
  
  def add(x, y):
      print "%i + %i = %i" % (x, y, (x + y))
      return
  
  def multiply(x, y):
      print "%i * %i = %i" % (x, y, (x * y))
      return
  </code></pre>
  
  <p>C#:</p>
  
  <pre><code>using IronPython.Hosting;
  using IronPython.Runtime;
  using Microsoft.Scripting.Hosting;
  using System;
  
  namespace IntroIronPython
  {
      class IronPythonMain
      {
          static void Main(string[] args)
          {
              // Create a new ScriptRuntime for IronPython
              Console.WriteLine("Loading IronPython Runtime...");
              ScriptRuntime python = Python.CreateRuntime();
  
              try
              {
                  // Attempt to load the python file
                  Console.WriteLine("Loading Python File...");
                  // Create a Dynamic Type for our Python File
                  dynamic pyfile = python.UseFile("PythonFunctions.py");
                  Console.WriteLine("Python File Loaded!");
  
                  Console.WriteLine("Running Python Commands...\n");
  
                  // Call the hello(name) function
                  pyfile.hello("Urda");
                  …
  </code></pre>
  
  <p>And from here I have this error:
  "Dynamic Operation cannot be compiled without "Microsoft.CSharp.dll" assembly reference."
  And I seriously don't understand what that is about, what did I forget to add?</p>
  
  <p>In my references I have:
  <img src="https://i.stack.imgur.com/AlzFn.png" alt="References of my project"></p>
  
  <p>Thx for your help.</p>
  
  <p>Ps: I'm on MonoDevelop.</p>