tags:

views:

43

answers:

0

I have a C# project in Visual Studio and I am trying to get it hooked up with Nant, CC.NET and some tests. Nant isn't compiling my project because it says it can't find one of my classes, called LocationData. The only thing I have for this class is a schema (LocationData.xsd and LocationData.xss). I have tried adding them under sources, references and resources, but it's not working. Any other ideas?

Here is my compile target:

<target name="compile" 
        depends="init"
        description="compiles the application">
    <csc target="library" output="build\${nant.project.name}.dll" debug="${debug}">
        <sources>
            <include name="\**\*.cs" />                
            <exclude name="Tests\**\*.cs" />                                
        </sources>                        
       <references>
    <include name="bin\*.dll" />
       </references>
      <resources>
            <include name="\**\*.xsd" />
      </resources>
    </csc>
</target>

Thanks! Amber