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

Issue with ASP.NET Core 2.0.0 #2

Closed
joellacas opened this Issue Aug 18, 2017 · 8 comments

Comments

Projects
None yet
2 participants
@joellacas
Copy link

joellacas commented Aug 18, 2017

Since this morning, I migrate my application from .NET Core 1.1 to .NET Core 2.0.0 and I get an error message from your library.

Thank you in advance....

An error occurred while starting the application.
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Identity.UserManager`1' from assembly 'Microsoft.AspNetCore.Identity, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
RhWeb.Startup.ConfigureServices(IServiceCollection services)
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Identity.UserManager`1' from assembly 'Microsoft.AspNetCore.Identity, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
RhWeb.Startup.ConfigureServices(IServiceCollection services)
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
@jusbuc2k

This comment has been minimized.

Copy link
Owner

jusbuc2k commented Aug 18, 2017

@joellacas, I'll try and do a 2.0 upgrade on this library tonight and see what happens. I haven't tried it with 2.0 yet, sorry. I'll report back my findings as soon as I can.

@jusbuc2k jusbuc2k self-assigned this Aug 18, 2017

@joellacas

This comment has been minimized.

Copy link
Author

joellacas commented Aug 18, 2017

@jusbuc2k
Thanks for the fast answer :) My app needs to be deployed in couple weeks and this feature is the best solution for us !

@jusbuc2k

This comment has been minimized.

Copy link
Owner

jusbuc2k commented Aug 18, 2017

@joellacas Hopefully it's something simple I can help you with. I was hoping System.DirectoryServices would make it into the 2.0 release, but it looks like it's still scheduled for 2.1 here: dotnet/corefx#2089

@joellacas

This comment has been minimized.

Copy link
Author

joellacas commented Aug 22, 2017

@jusbuc2k Any update ?

@jusbuc2k

This comment has been minimized.

Copy link
Owner

jusbuc2k commented Aug 22, 2017

@joellacas, sorry I didn't get to it this weekend. I'm going to work on it now. I'll report back in bit.

@jusbuc2k

This comment has been minimized.

Copy link
Owner

jusbuc2k commented Aug 22, 2017

@joellacas, I just pushed a preview00 version to nuget.org supporting asp.net identity 2.0 / netstandard 2.0. Try it out and report back. I tested it with a File->New Project, ASP.NET Core website in VS 2017 and it worked.

https://www.nuget.org/packages/Justin.AspNetCore.LdapAuthentication/2.0.0-preview00

@joellacas

This comment has been minimized.

Copy link
Author

joellacas commented Aug 22, 2017

@jusbuc2k Awesome! It's work again. Thank you for your help :)

@jusbuc2k

This comment has been minimized.

Copy link
Owner

jusbuc2k commented Aug 22, 2017

@joellacas Good to hear!

@jusbuc2k jusbuc2k closed this Aug 22, 2017

@jusbuc2k jusbuc2k referenced this issue Aug 23, 2017

Closed

Dotnet Core 2.0 #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment