Open Closed

ABP Upgrade from 3.1.0 to 3.3.0 #529


User avatar
0
alper created
Support Team Director

How to upgrade my ABP project from v3.1.0 to v3.3.0?


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

    Upgrade all Microsoft.Extensions.FileProviders.Embedded packages from 3.1.6 to 3.1.8.

    To do this find/replace all the below line

    Include="Microsoft.Extensions.FileProviders.Embedded" Version="3.1.6"
    

    with this line

    Include="Microsoft.Extensions.FileProviders.Embedded" Version="3.1.8"
    

    There are 2 namespace changes

    1. Add using Volo.Saas.Editions; to SaasDataSeedContributor.cs
    2. Add using Volo.Saas.Tenants; to XXXDbMigrationService.cs

    You'll get the following error: No BLOB Storage provider was registered! At least one provider must be registered to be able to use the Blog Storing System.

    To fix this;

    Add the below package to the project XXX.EntityFrameworkCore:

    <PackageReference Include="Volo.Abp.BlobStoring.Database.EntityFrameworkCore" Version="3.3.0" />
    

    Add the below configuration to the ConfigureServices of your XXXWebModule.cs

    Configure<AbpBlobStoringOptions>(options =>
    {
        options.Containers.ConfigureDefault(container =>
        {
            container.UseDatabase();
        });
    });
    
Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15