title: Mono: Using nant 0.92 to compile c#
body: <p>I had problem to run nant script in Mono framework.</p>
  
  <p>I got this error when I run nant scipt with mono-3.5.</p>
  
  <p><img src="https://i.stack.imgur.com/dVhgE.png" alt="enter image description here"></p>
  
  <p>This is my nant scipt.</p>
  
  <pre><code>&lt;target name="compile-libs" depends="prepare" description="Compile the libraries"&gt;
          &lt;csc target ="library" output="${bin.lib.1}/lib.dll" debug="false"&gt;
          &lt;sources&gt;
                  &lt;include name="${src.lib.1}/${arg}/*"/&gt;
          &lt;/sources&gt;
        &lt;/csc&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>what is wrong with it?</p>
  
  <p>Then, I change to use bat file to compile c#. It works. However, It only executes the first command, then stoped.</p>
  
  <pre><code>echo compile lib1:
  mcs /target:library /out:build\bin-lib-v1.0\lib.dll src-lib-v1.0\lib\%1\foo.cs
  echo compile lib2:
  mcs /target:library /out:build\bin-lib-v2.0\lib.dll src-lib-v2.0\lib\%1\foo.cs
  </code></pre>
  
  <p>The bat file only produced the first library. It did not echo "compile lib2".</p>
  
  <p>Thanks in advanced!</p>