Hm, that should work.try deleting the build folder, and ensure that you copy
NH, Iesi, and the proxy generator dlls to lib\net\2.0

On Wed, Oct 29, 2008 at 8:17 PM, Tobes <[EMAIL PROTECTED]>wrote:

>
> I've probably missing something, could someone give me a hint please?
>
> I've done the following:
>
> svn update - for nhcontrib to get up to latest trunk
> applied the patch file to my nhcontrib/trunk/src (the solution file
> gives me an error, but I'm assuming it hasn't changed to I ignore that
> file)
> copied NHibernate.dll (2.1.0.1001) into the nhcontrib lib folder
> use nant to build
>
> Errors shown at the end of email. Sorry for being dim here, I'm not on
> greatly familiar ground here.
>
> Thanks
>
> Tobin
>
>  [csc] c:\Code\nhcontrib\trunk\src\NHibernate.Search\src
> \NHibernate.Search\Impl\FullTextSessionImpl.cs(110,20): error CS1502:
> The best overloaded method match for
> 'NHibernate.ISession.Load(System.Type, object, NHibernate.LockMode)'
> has some invalid arguments
>                  [csc] c:\Code\nhcontrib\trunk\src\NHibernate.Search
> \src\NHibernate.Search\Impl\FullTextSessionImpl.cs(110,33): error
> CS1503: Argument '1': cannot convert from 'string' to 'System.Type'
>                  [csc] c:\Code\nhcontrib\trunk\src\NHibernate.Search
> \src\NHibernate.Search\Impl\FullTextSessionImpl.cs(130,20): error
> CS0029: Cannot implicitly convert type 'void' to 'object'
>                  [csc] c:\Code\nhcontrib\trunk\src\NHibernate.Search
> \src\NHibernate.Search\Impl\FullTextSessionImpl.cs(150,34): error
> CS0117: 'NHibernate.ISession' does not contain a definition for
> 'ActiveEntityMode'
>                  [csc] c:\Code\nhcontrib\trunk\src\NHibernate.Search
> \src\NHibernate.Search\Impl\FullTextSessionImpl.cs(282,13): error
> CS1501: No overload for method 'Delete' takes '2' arguments
>                  [csc] c:\Code\nhcontrib\trunk\lib\net
> \2.0\NHibernate.dll: (Location of symbol related to previous error)
>                  [csc] c:\Code\nhcontrib\trunk\src\NHibernate.Search
> \src\NHibernate.Search\Impl\FullTextSessionImpl.cs(410,20): error
> CS1502: The best overloaded method match for
> 'NHibernate.ISession.CreateCriteria(System.Type)' has some invalid
> arguments
>                  [csc] c:\Code\nhcontrib\trunk\src\NHibernate.Search
> \src\NHibernate.Search\Impl\FullTextSessionImpl.cs(410,43): error
> CS1503: Argument '1': cannot convert from 'string' to 'System.Type'
>                  [csc] c:\Code\nhcontrib\trunk\src\NHibernate.Search
> \src\NHibernate.Search\Impl\FullTextSessionImpl.cs(415,20): error
> CS1502: The best overloaded method match for
> 'NHibernate.ISession.CreateCriteria(System.Type, string)' has some
> invalid arguments
>                  [csc] c:\Code\nhcontrib\trunk\src\NHibernate.Search
> \src\NHibernate.Search\Impl\FullTextSessionImpl.cs(415,43): error
> CS1503: Argument '1': cannot convert from 'string' to 'System.Type'
>
>
> On Oct 29, 5:37 pm, Tobes <[EMAIL PROTECTED]> wrote:
> > Speedy reply there Ayende, thank you very much :)
> >
> > Tobin
> >
> > On Oct 29, 5:29 pm, "Ayende Rahien" <[EMAIL PROTECTED]> wrote:
> >
> > > On Wed, Oct 29, 2008 at 7:14 PM, Ayende Rahien <[EMAIL PROTECTED]>
> wrote:
> > > > I'll post a patch for building search with latest trunk in a few
> minutes.
> >
> > > > On Wed, Oct 29, 2008 at 7:06 PM, Tobes <
> [EMAIL PROTECTED]>wrote:
> >
> > > >> Has anyone managed to get NHibernate + Rhino tools + Contrib (search
> +
> > > >> validators) to play nicely.
> >
> > > >> Latest Rhino tools builds against NH 2.1 as far as I can tell, and
> > > >> Contrib won't build against that. I haven't put much time in to
> this,
> > > >> but wanted to see if anyone has got this going before I take me
> gloves
> > > >> off :)
> >
> > >  nh-search-with-trunk.patch
> > > 16KViewDownload
> >
>

--~--~---------~--~----~------------~-------~--~----~
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