I did add the reference here(nhibernate.build):
<assemblyfileset id="project.references" basedir="${bin.dir}">
                        <include name="System.dll" />
                        <include name="System.Transactions.dll" />
                        <include name="System.Configuration.dll" />
                        <include name="System.XML.dll" />
                        <include name="System.Data.dll" />
                        <include name="System.Data.SqlServerCe" />
                        <include name="System.Data.OracleClient" />
                        <include name="System.Web.dll" />
                        <include name="Iesi.Collections.dll" />
                        <include name="log4net.dll" />
                </assemblyfileset>


but I still get the error in the build log :


[nant] D:\Dev\OSS\NH\nhibernate\src\NHibernate\NHibernate.build build
            Buildfile: 
file:///D:/Dev/OSS/NH/nhibernate/src/NHibernate/NHibernate.build
            Target framework: Microsoft .NET Framework 3.5
            Target(s) specified: build


            set-framework-configuration:


            set-net-3.5-framework-configuration:


            set-project-configuration:


            set-debug-project-configuration:


            common.init:


            init:


            common.set-assembly-attribute-values:


            common.generate-assemblyinfo:


            generate-assemblyinfo:


            common.compile-dll:

                  [csc] Compiling 1048 files to 'D:\Dev\OSS\NH
\nhibernate\build\NHibernate-2.1.0.Alpha2-debug\bin
\net-3.5\NHibernate.dll'.
                  [csc] d:\Dev\OSS\NH\nhibernate\src\NHibernate\Dialect
\Schema\MsSqlCeMetaData.cs(4,19): error CS0234: The type or namespace
name 'SqlServerCe' does not exist in the namespace 'System.Data' (are
you missing an assembly reference?)
                  [csc] d:\Dev\OSS\NH\nhibernate\src\NHibernate\Type
\ForeignKeyDirection.cs(19,17): warning CS0659:
'NHibernate.Type.ForeignKeyDirection.ForeignKeyToParentClass'
overrides Object.Equals(object o) but does not override
Object.GetHashCode()
                  [csc] d:\Dev\OSS\NH\nhibernate\src\NHibernate\Type
\ForeignKeyDirection.cs(30,17): warning CS0659:
'NHibernate.Type.ForeignKeyDirection.ForeignKeyFromParentClass'
overrides Object.Equals(object o) but does not override
Object.GetHashCode()
                  [csc] d:\Dev\OSS\NH\nhibernate\src\NHibernate
\LockMode.cs(14,22): warning CS0659: 'NHibernate.LockMode' overrides
Object.Equals(object o) but does not override Object.GetHashCode()

            BUILD FAILED

            D:\Dev\OSS\NH\nhibernate\build-common\common-project.xml
(103,4):
            External Program Failed: C:\Windows\Microsoft.NET\Framework
\v3.5\csc.exe (return code was 1)

            Total time: 5.8 seconds.

Reply via email to