-
Notifications
You must be signed in to change notification settings - Fork 933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NHibernate 5 with Asp NET Core 2: Getting an exception when calling OpenSession #1577
Comments
NHibernate does not support .Net Core yet. |
@fredericDelaporte can you please point to feature request to support .net core if there is any? |
See #1572 where I have already writen an abstract of current state of works on .Net Core. |
Since the issue I had was with the CallContext. I did some research and Remoting is not supported in NET Core So it looks that they are already supporting NET Core 2? |
No. There are just some places where code for supporting it has already been merged, but the master branch is far from supporting it. |
I have been experimenting with porting NHibernate to NET Core 2 and at least I got it to compile. In case that can be of any help to somebody: |
@fredericDelaporte Thanks for the insights! A move to .net core is something many people will be looking forward too. I hope that nhibernate will consider it in near future :) |
Exception:
System.TypeLoadException: 'Could not load type 'System.Runtime.Remoting.Messaging.CallContext' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'
Code:
... Rest of code omitted for brevity
The text was updated successfully, but these errors were encountered: