Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

GetActiveLanguages TypeLoadException after Abp 4.x package update #8686


User avatar
0
DavidWebster created

Hi ASP.Zero Support

I am currently running .NET Core 2.2 and have recenty upgraded my Abp NuGet packages as far as I can for that framework version (to Abp 4.13.0) from the versions in my origial template project download (4.5 - Zero v6.9.1), however, following the package update (and a clean and rebuild) I now receive the following error whenever the program runs:

System.TypeLoadException: Method 'GetActiveLanguages' in type 'Abp.Localization.ApplicationLanguageProvider' from assembly 'Abp.Zero.Common, Version=4.13.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

The only reference to this specific error that I have found is from the following ticket (https://github.com/aspnetboilerplate/aspnetboilerplate/issues/5125), however, that suggests that "GetActiveLanguages is only available in Abp 5.1" but doesn't reference 4.x. Can you advise please on whether there is a missing package that is required, or whether there is a need to override this method once the newer 4.x packages are used?

Thanks, David


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi David

    I will check it.

  • User Avatar
    0
    maliming created
    Support Team

    hi

    v4.14 has been pushed to NuGet. https://www.nuget.org/packages/Abp/4.14.0

    Please upgrade the abp related packages in your project and try again.

  • User Avatar
    0
    DavidWebster created

    Thank you for the quick turnaround on this update.

    Regards, David

  • User Avatar
    0
    maliming created
    Support Team

    I think this solves your problem, right? : )

  • User Avatar
    0
    DavidWebster created

    Hi maliming. Yes, thank you, the error has now gone when launching the application.