Title: Help with System.Collections...

I am trying to compile a file "AddressTester.cs" under windows XP & .net 1.0.  This file uses System.Collections.
I can't seem to compile it with nant.  I tried adding the includes for the M$ dll's and still nothing. 
When trying to compile, it says

      [csc] Compiling 1 files to C:\gnucla\bin\AddressTester.dll.
            C:\gnucla\src\addresstester.cs(111,2): error CS0246:
        The type or namespace name 'Collections' could not be found (are you missing a using directive or an assembly reference?)


Here is a segment of my build file.
<?xml version="1.0"?>
  <project name="gnucla" default="build" optionstrict="false" rootnamespace="Gnucla">

        <!-- Not currently working due to "Collections" error -->
        <!--csc target="library" warnaserror="true" output="${build.dir}/AddressTester.dll">
            <sources><includes name="**/AddressTester.cs" /></sources>
            <references basedir="${build.dir}">
              <includes name="**/*.dll" />
              <includes asis="true" name="C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\mscorlib.dll" />
              <includes asis="true" name="C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.dll" />
              <includes asis="true" name="C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll" />
              <includes asis="true" name="C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Drawing.dll" />
              <includes asis="true" name="C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Windows.Forms.dll" />
              <includes asis="true" name="C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.XML.dll" />
           </references>
        </csc-->

    </target>
  </project>

Thanks!
Scott

[EMAIL PROTECTED]

Reply via email to