NHibernate .Net 7(8) #3337
-
Hello, I'm using NHibernate with .Net 5 to work with a MariaDb database and I have no problem. I have to migrate my code to .Net 7 (and maybe soon .Net 8) and I'm surprised because i'm not seeing support for .Net 7 in the latest nuget 5.4.2 release (https://www.nuget.org/packages/NHibernate). .Net 7 has been released since novembre 22 so why NHibernate has no support for it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We do not need to publish a new version for .Net7 or 8 to have NHibernate work with them. NHibernate is compatible with them since long (version 5.1, released in 2018). Have you check the Nuget Framework tab? Why do you think it is not supported? A library does not need to target explicitly each new release of the framework to be compatible with it. If that is the library consumer who wants to use new features of the newer framework release, depending on a library targeting an older one does not prevent it in most cases. |
Beta Was this translation helpful? Give feedback.
We do not need to publish a new version for .Net7 or 8 to have NHibernate work with them. NHibernate is compatible with them since long (version 5.1, released in 2018).
Have you check the Nuget Framework tab? Why do you think it is not supported? A library does not need to target explicitly each new release of the framework to be compatible with it.
It only needs to do so when the library developers want to use new features of the newer framework release.
If that is the library consumer who wants to use new features of the newer framework release, depending on a library targeting an older one does not prevent it in most cases.
NHibernate having some advanced interaction logic with the use…