Alexey,

If you were trying to get nhibernate to compile as a .NET 4 assembly there
are a few things you will have to do like fully qualify the interfaces in
Iesi and add some attributes. I have successfully compiled it under .net 4
and it runs like a champ. Have been meaning to see what it would take to
convert to using the ISet and Tuple provided by .net 4 and remove the
dependency on Iesi. But sadly StarCraft 2 is eating up all my free time
right now. 8)

On Sun, Aug 22, 2010 at 11:02 AM, alexey_baranov <[email protected]> wrote:

> Thank you!
>
> Come back to Iesi collections
>
> On Aug 22, 9:06 pm, Fabio Maulo <[email protected]> wrote:
> > ah... if you want see it working perfectly revert the changes you done in
> > your domain.
> >
> >
> >
> > On Sun, Aug 22, 2010 at 12:04 PM, Fabio Maulo <[email protected]>
> wrote:
> > > NH works perfectly under .Net4 (I have 5 projects so far - 2 in Azure)
> >
> > > On Sun, Aug 22, 2010 at 12:00 PM, alexey_baranov <[email protected]
> >wrote:
> >
> > >> hi!
> >
> > >> I have mograter absolutery worhing project form 3.5 up to 4.0. The
> > >> only staff compiler ask me is comment
> > >> //using Iesi.Collections.Generic;
> > >> and fix
> > >> private ISet<Obj> _children= new HashedSet<Obj>();
> > >> to
> > >> private ISet<Obj> _children= new HashSet<Obj>();
> >
> > >> After running project I had runtime error
> >
> > >> Invalid Cast (check your mapping for property type mismatches); setter
> > >> of Helpdesk.Folder
> >
> > >> so my question is NHibernate work under .NET 4.0?
> >
> > >> Thanks!
> >
> > >> --
> > >> 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]<nhusers%[email protected]>
> <nhusers%[email protected]<nhusers%[email protected]>
> >
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/nhusers?hl=en.
> >
> > > --
> > > Fabio Maulo
> >
> > --
> > Fabio Maulo
>
> --
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>


-- 
"The explanation requiring the fewest assumptions is most likely to be
correct."

- Occam’s Razor
http://en.wikipedia.org/wiki/Occam's_Razor

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