title: Sharing global variables across .cake files
body: <p>I use CAKE 0.21.1.0.</p>
  
  <p>My <code>build.cake</code> script loads another <code>.cake</code> script: <code>tests.cake</code>.</p>
  
  <p>I have defined some global variables in <code>build.cake</code> that I would like to use in both my <code>.cake</code> scripts. </p>
  
  <p>Let's say I have a global variable named <code>testDllPath</code>.</p>
  
  <p>When I use <code>testDllPath</code> in <code>tests.cake</code>, I see the following error:</p>
  
  <blockquote>
    <p>error CS0120: An object reference is required for the non-static field, method, or property 'testDllPath'</p>
  </blockquote>
  
  <p>If I try to declare a new variable also named <code>testDllPath</code> in <code>tests.cake</code>, I see this error instead:</p>
  
  <blockquote>
    <p>error CS0102: The type 'Submission#0' already contains a definition for 'testDllPath'</p>
  </blockquote>
  
  <p>How should I get access to the global variables defined in <code>build.cake</code> from another <code>.cake</code> file?</p>