Base solution for your next web application
Open Closed

Upgrade error from 8.4 to 10.2: TypeLoadException: Method 'GetNameOrConnectionStringAsync' in type 'Abp.Zero.EntityFrameworkCore.DbPerTenantConnectionStringResolver' from assembly 'Abp.ZeroCore.EntityFrameworkCore, Version=5.5.0.0, Culture=neutral, PublicK #10255


User avatar
0
olmy90 created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 8.4
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

I'm getting the following error when updating the version from 8.4 to 10.2

TypeLoadException: Method 'GetNameOrConnectionStringAsync' in type 'Abp.Zero.EntityFrameworkCore.DbPerTenantConnectionStringResolver' from assembly 'Abp.ZeroCore.EntityFrameworkCore, Version=5.5.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Please can someone help?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @olmy90

    If you upgrade your solution to AspNet Zero 10.x, you need to upgrade your ABP NuGet packages to 6.x version. It seems liek you have upgraded your project but didn't upgrade your NuGet packages.