2012-04-19 34 views
0

我想使用南特建立一个项目和导入的dll文件来执行NUnit的。使用南特建造项目和运行NUnit的

但我却不知道如何编写XML代码构建的csproj文件。

这里是我的xml:


<?xml version="1.0"?> 
<project name="Aaron.Guo.Second.Project" default="build" basedir="."> 
    <property name="basename" value="A"/> 
    <property name="debug" value="true"/> 
    <target name="build"> 
    <csc target="library" debug="false" warnaserror="true" output="D:/A/bin/A1.dll"> 
     <sources basedir="D:/A"> 
     <include name="**/*.cs" /> 
     </sources> 
     <references> 
     <include name="D:/A/bin/*.dll"/> 
     </references> 
    </csc> 
    </target> 
</project> 

我只知道 “包括名称” 可以建立CS文件

,但它也表明不能参考使用重复的页面没有自动跳转

我把参考文件中的d:/ A /滨/ directionary。

我怎么能写XML?

回答