在<exec>...</exec>里面怎么设定path啊?我执行.exe文件的时候总是出错找不到相应的.dll文件。
本人刚开始写c#的程序,请各位多多指教我的文件目录结构如下:
bin/Test.exe
lib/Tiw.dllexec是这样写的:
    <exec program="bin/${basename}.exe" basedir="." useruntimeengine="true">
      <arg value="-cp" />
      <arg>
<path>
  <pathelement dir="lib" />
  <pathelement file="lib/Tiw.dll" />
</path>
      </arg>
   </ecec>出错信息是:
     [exec] Unhandled Exception: System.IO.FileNotFoundException: File or assemb
ly name Tiw, or one of its dependencies, was not found.
     [exec] File name: "Tiw"
     [exec]    at Test.Main()