0
prithvij created
Hi,
I downloaded v5.4.2 of the ASP.NET core MVC + Jquery template and have customized it since last 6 months. We have a need for push notifications now, which was missing from the template at that time (SignalR integration was in preview). Now that it is available I wish to use it. So what I did is:
- Update the Nuget package in ProjectName.Core.Shared project from v3.6.1 to use v3.7.0 of "Abp" Nuget package.
- Build and run
Unfortunately I get a missing method exception:
System.MissingMethodException: Method not found: 'System.Linq.Expressions.Expression`1<System.Func`2<System.__Canon,Boolean>> Abp.Domain.Repositories.AbpRepositoryBase`2.CreateEqualityExpressionForId(System.__Canon)'.
at Abp.EntityFrameworkCore.Repositories.EfCoreRepositoryBase`3.<FirstOrDefaultAsync>d__19.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
at Abp.EntityFrameworkCore.Repositories.EfCoreRepositoryBase`3.FirstOrDefaultAsync(TPrimaryKey id)
at Castle.Proxies.Invocations.IRepository`2_FirstOrDefaultAsync_12.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformAsyncUow(IInvocation invocation, UnitOfWorkOptions options) in D:\Github\aspnetboilerplate\src\Abp\Domain\Uow\UnitOfWorkInterceptor.cs:line 83
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.IRepository`2Proxy_4.FirstOrDefaultAsync(Int64 id)
at Abp.Authorization.Users.AbpUserStore`2.FindByIdAsync(String userId, CancellationToken cancellationToken) in D:\Github\aspnetboilerplate\src\Abp.ZeroCore\Authorization\Users\AbpUserStore.cs:line 280
at Castle.Proxies.UserStoreProxy.FindByIdAsync_callback(String userId, CancellationToken cancellationToken)
at Castle.Proxies.Invocations.AbpUserStore`2_FindByIdAsync.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.UserStoreProxy.FindByIdAsync(String userId, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Identity.UserManager`1.FindByIdAsync(String userId)
at Castle.Proxies.Invocations.UserManager`1_FindByIdAsync.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.UserManagerProxy.FindByIdAsync(String userId)
at Abp.Authorization.Users.AbpUserManager`2.<>c__DisplayClass66_0.<<GetUserPermissionCacheItemAsync>b__0>d.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.ZeroCore\Authorization\Users\AbpUserManager.cs:line 609
--- End of stack trace from previous location where exception was thrown ---
Any ideas will greatly help.
Thanks and regards, Prithvi.
1 Answer(s)
-
0
Hi @prithvij
There might be still dependencies to older version of ABP. Please be sure that all projects are using the same version of Abp.* nuget packages.