Open Closed

Upgrade 6 to 7 breaks localization method #4979


User avatar
0
rcalv002 created
  • ABP Framework version: v7.1.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Upgrade 6.0 to 7, now receiving this message. if I go to the domain.shared project where the method is used and press F12 it browses to the definition of the method so i can see it still exists.

  •   InnerException	{"Method not found: 'Volo.Abp.Localization.LocalizationResource Volo.Abp.Localization.LocalizationResourceExtensions.AddBaseTypes(Volo.Abp.Localization.LocalizationResource, System.Type[])'."}	System.Exception {System.MissingMethodException}
    

created and applied migration to db.


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please make sure you upgrade all Volo.Abp.xxx and Volo.xxx packages to 7.

  • User Avatar
    0
    rcalv002 created

    Hi Maliming,

    Thanks for feedback, yes I did that before opening ticket.

    <PackageReference Include="Volo.Abp.LeptonTheme.Management.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Autofac" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="7.1.1" /> <PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Domain" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.OpenIddict" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AuditLogging.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.OpenIddict.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.Domain.Identity" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Saas.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.Application" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.BlobStoring.Database.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Autofac.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.LeptonTheme" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Blazor.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.Blazor.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.Blazor.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.Blazor.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Blazor.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Abp.OpenIddict.Pro.Blazor.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Blazor.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AuditLogging.Blazor.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LanguageManagement.Blazor.WebAssembly" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Autofac" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Components.Server.LeptonTheme" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Blazor.Server" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Domain" Version="7.1.1" /> <PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AuditLogging.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.OpenIddict" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Blazor.Server" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.Blazor.Server" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.Blazor.Server" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.Domain.Identity" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.Blazor.Server" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.Blazor.Server" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.Application" Version="7.1.1" /> <PackageReference Include="Volo.Saas.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.BlobStoring.Database.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Commercial.SuiteTemplates" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Autofac" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy" Version="7.1.1" /> <PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AuditLogging.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Saas.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Domain" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Autofac" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.Client" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Authentication.OpenIdConnect" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Http.Client.IdentityModel.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Http.Client.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.HttpApi.Client" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.HttpApi.Client" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.HttpApi.Client" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.HttpApi.Client" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.Web" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.HttpApi.Client" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.HttpApi.Client" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Autofac" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Domain" Version="7.1.1" /> <PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AuditLogging.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AuditLogging.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AuditLogging.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AuditLogging.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.SettingManagement.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Identity.Pro.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.PermissionManagement.Domain.Identity" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.Web" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.Web" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.Application" Version="7.1.1" /> <PackageReference Include="Volo.Saas.Host.HttpApi" Version="7.1.1" /> <PackageReference Include="Volo.Saas.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.BlobStoring.Database.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.BackgroundJobs.Abstractions" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Ddd.Application.Contracts" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Authorization.Abstractions" Version="7.1.1" /> <PackageReference Include="Volo.Abp.BackgroundJobs.Abstractions" Version="7.1.1" /> <PackageReference Include="Volo.Abp.BackgroundJobs.HangFire" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Ddd.Application" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AutoMapper" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Emailing" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Components.Server.Theming" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.Theming" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AutoMapper" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Components.Web.Theming" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Validation" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Ddd.Domain" Version="7.1.1" /> <PackageReference Include="Volo.Abp.EntityFrameworkCore" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Http.Client" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="7.1.1" /> <PackageReference Include="Volo.Abp.MongoDB" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AutoMapper" Version="7.1.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared" Version="7.1.1" /> <PackageReference Include="Volo.Abp.EntityFrameworkCore.Sqlite" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Http.Client.IdentityModel" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Autofac" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Autofac" Version="7.1.1" /> <PackageReference Include="Volo.Abp.Authorization" Version="7.1.1" /> <PackageReference Include="Volo.Abp.TestBase" Version="7.1.1" />

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    What your Lepton package version?

    Can you share a minimal project to reproduce?

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07