IdentityServer / IdentityServer3.Admin.EntityFramework

Apache License 2.0
12 stars 30 forks source link

Could not load type 'AutoMapper.IMapperConfiguration' from assembly AutoMapper, Version=5.1.1.0 #25

Closed gurdev-r closed 8 years ago

gurdev-r commented 8 years ago

I recently upgraded my IdentityServer3 project to the latest build. In that same project I am using the package IdentityServer3.Admin.EntityFramework package to manage Clients and Scopes. Now when I run the project to access the admin panel, I get the following error.

{"Could not load type 'AutoMapper.IMapperConfiguration' from assembly 'AutoMapper, Version=5.1.1.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005'.":"AutoMapper.IMapperConfiguration"}

   at IdentityServer3.Admin.EntityFramework.IdentityAdminCoreManager`4..ctor(String connectionString, String schema, Boolean createIfNotExist)
   at Pablow.IdentityServer.Admin.IdentityAdminManagerService..ctor() in e:\Sonu\Dev\PablowWebApp\Src\Pablow\Pablow.IdentityServer\Admin\IdentityAdminManagerService.cs:line 12
   at lambda_method(Closure , Object[] )
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() in c:\dev\git\IdentityServer3.Admin\source\Core\Configuration\Hosting\AutofacScope.cs:line 0

I guess it is due to the fact that latest IdentityServer3 package upgraded the AutoMapper to the latest version and Admin part is using the old version.

Can you please confirm or let me know how I can fix this?

iBoonz commented 8 years ago

Fixed, will be available in 1.0.0-beta8