this was not the case.. I complied it individually and it worked.. I
had to change default.build as well to make it work.. but its done.
Thankx. :D


On Mar 30, 1:20 pm, Andris Kurmis <[email protected]> wrote:
> Shouldn't these two                       <include
> name="System.Data.SqlServerCe" />
>                        <include name="System.Data.OracleClient" />
> end with an ".dll"?
>
> Andris
>
> 2009/3/25 Sushant <[email protected]>
>
>
>
>
>
> > 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.- Hide quoted text -
>
> - Show quoted text -

Reply via email to