I tried compiling it against nhibernate 2.0.1.GA recieving the above
error. I then tried to compile it using latest svn revision of
nhibernate (4124) and contrib svn revision 811, recieving the error
message below. Not having much luck here. Anyone know a revision that
worked?


E:\Program\C#\NHibernate\Contrib\trunk\src\NHibernate.Search>nant
NAnt 0.86 (Build 0.86.2898.0; beta1; 08/12/2007)
Copyright (C) 2001-2007 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///E:/Program/C%23/NHibernate/Contrib/trunk/src/NHibernate.Searc
h/default.build
Target framework: Microsoft .NET Framework 3.5
Target(s) specified: build


clean:

   [delete] Deleting directory 'E:\Program\C#\NHibernate\Contrib\trunk
\src\NHibe
rnate.Search\build'.

build:

    [mkdir] Creating directory 'E:\Program\C#\NHibernate\Contrib\trunk
\src\NHibe
rnate.Search\build'.
      [csc] Compiling 121 files to 'E:\Program\C#\NHibernate\Contrib
\trunk\src\N
Hibernate.Search\build\NHibernate.Search.dll'.
      [csc] e:\Program\C#\NHibernate\Contrib\trunk\src
\NHibernate.Search\src\NHi
bernate.Search\Impl\FullTextSessionImpl.cs(17,18): error CS0535:
'NHibernate.Sea
rch.Impl.FullTextSessionImpl' does not implement interface member
'NHibernate.IS
ession.CreateCriteria<T>()'
      [csc] e:\Program\C#\NHibernate\Contrib\trunk\lib\net
\2.0\NHibernate.dll: (
Location of symbol related to previous error)
      [csc] e:\Program\C#\NHibernate\Contrib\trunk\src
\NHibernate.Search\src\NHi
bernate.Search\Impl\FullTextSessionImpl.cs(17,18): error CS0535:
'NHibernate.Sea
rch.Impl.FullTextSessionImpl' does not implement interface member
'NHibernate.IS
ession.CreateCriteria<T>(string)'
      [csc] e:\Program\C#\NHibernate\Contrib\trunk\lib\net
\2.0\NHibernate.dll: (
Location of symbol related to previous error)
      [csc] e:\Program\C#\NHibernate\Contrib\trunk\src
\NHibernate.Search\src\NHi
bernate.Search\Reader\CacheableMultiReader.cs(12,44): warning CS0109:
The member
 'NHibernate.Search.Reader.CacheableMultiReader.subReaders' does not
hide an inh
erited member. The new keyword is not required.

BUILD FAILED

E:\Program\C#\NHibernate\Contrib\trunk\src\NHibernate.Search
\default.build(17,4)
:
External Program Failed: C:\Windows\Microsoft.NET\Framework
\v3.5\csc.exe (return
 code was 1)

Total time: 1.1 seconds.


E:\Program\C#\NHibernate\Contrib\trunk\src\NHibernate.Search>

On Mar 12, 10:51 pm, shiftzor <[email protected]> wrote:
> I got the latest version fromnhibernatecontrib svn and below is the
> build error i am getting. Whats the easiest way to get build
> 2.0.0.2002?
>
> E:\Program\C#\NHibernate\Contrib\trunk\src\NHibernate.Search>nant
> NAnt 0.86 (Build 0.86.2898.0; beta1; 08/12/2007)
> Copyright (C) 2001-2007 Gerry Shawhttp://nant.sourceforge.net
>
> Buildfile: 
> file:///E:/Program/C%23/NHibernate/Contrib/trunk/src/NHibernate.Searc
> h/default.build
> Target framework: Microsoft .NET Framework 3.5
> Target(s) specified: build
>
> clean:
>
>    [delete] Deleting directory 'E:\Program\C#\NHibernate\Contrib\trunk
> \src\NHibe
> rnate.Search\build'.
>
> build:
>
>     [mkdir] Creating directory 'E:\Program\C#\NHibernate\Contrib\trunk
> \src\NHibe
> rnate.Search\build'.
>       [csc] Compiling 121 files to 'E:\Program\C#\NHibernate\Contrib
> \trunk\src\N
> Hibernate.Search\build\NHibernate.Search.dll'.
>       [csc] e:\Program\C#\NHibernate\Contrib\trunk\src
> \NHibernate.Search\src\NHi
> bernate.Search\Event\FullTextIndexEventListener.cs(14,49): error
> CS0246: The typ
> e or namespace name 'IDestructible' could not be found (are you
> missing a using
> directive or an assembly reference?)
>
> BUILD FAILED
>
> E:\Program\C#\NHibernate\Contrib\trunk\src\NHibernate.Search
> \default.build(17,4)
> :
> External Program Failed: C:\Windows\Microsoft.NET\Framework
> \v3.5\csc.exe (return
>  code was 1)
>
> Total time: 1.3 seconds.
>
> E:\Program\C#\NHibernate\Contrib\trunk\src\NHibernate.Search>
>
> On Mar 12, 3:44 pm, lvgunst <[email protected]> wrote:
>
> > I had to copy the nhcontrib\src\NHibernate.Search\lib\Lucene.Net.dll
> > to nhcontrib\lib\net\2.0\
>
> > Maybe it helps you
>
> > On 11 mrt, 22:36, shiftzor <[email protected]> wrote:
>
> > > I was looking at creating a project usingNHibernate.Searchwith
> > > Lucene.NET however I was unable to compile it. I understand that it
> > > has been moved fromNHibernatesolution to the contrib. Has anyone had
> > > this problem or know how to resolve it? I corrected the nant script
> > > but I was still receiving compiler errors.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to