Open Closed

Update from 9.1 to 9.2 rc1 then error occurs #9068


User avatar
0
nguyendigital created

image.png

Error (active) NU1101 Unable to find package Volo.Abp.LeptonXTheme.Management.Domain.Shared. No packages exist with this id in source(s): nuget.abp.io, nuget.org. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages. Solann.Software.Web I:\SolannSoftware\Solann.Software\src\Solann.Software.Web\Solann.Software.Web.csproj

Please check for me.


16 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    share the domain.shared project's csproj content thanks.

  • User Avatar
    0
    nguyendigital created

    I tried: https://abp.io/support/questions/9052/Error-Abp-92rc1-Undefined-setting-VoloAbpLeptonXThemeApplicationLayout
    And a new error appeared:
    image.png

    using Solann.Software.Localization;
    using Volo.Abp.AuditLogging;
    using Volo.Abp.BackgroundJobs;
    using Volo.Abp.FeatureManagement;
    using Volo.Abp.Identity;
    using Volo.Abp.Localization;
    using Volo.Abp.Localization.ExceptionHandling;
    using Volo.Abp.Validation.Localization;
    using Volo.Abp.Modularity;
    using Volo.Abp.PermissionManagement;
    using Volo.Abp.SettingManagement;
    using Volo.Abp.VirtualFileSystem;
    using Volo.Abp.OpenIddict;
    using Volo.Abp.BlobStoring.Database;
    using Volo.Abp.LanguageManagement;
    using Volo.Saas;
    using Volo.Abp.Gdpr;
    using Volo.Abp.GlobalFeatures;
    
    namespace Solann.Software;
    
    [DependsOn(
        typeof(AbpAuditLoggingDomainSharedModule),
        typeof(AbpBackgroundJobsDomainSharedModule),
        typeof(AbpFeatureManagementDomainSharedModule),
        typeof(AbpPermissionManagementDomainSharedModule),
        typeof(AbpSettingManagementDomainSharedModule),
        typeof(AbpIdentityProDomainSharedModule),
        typeof(AbpOpenIddictProDomainSharedModule),
        typeof(LanguageManagementDomainSharedModule),
        typeof(SaasDomainSharedModule),
        typeof(AbpGdprDomainSharedModule),
        typeof(AbpGlobalFeaturesModule),
       // typeof(LeptonXThemeManagementDomainShareModule),
        typeof(BlobStoringDatabaseDomainSharedModule)
        )]
    public class SoftwareDomainSharedModule : AbpModule
    {
        public override void PreConfigureServices(ServiceConfigurationContext context)
        {
            SoftwareGlobalFeatureConfigurator.Configure();
            SoftwareModuleExtensionConfigurator.Configure();
        }
    
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure(options =>
            {
                options.FileSets.AddEmbedded();
            });
    
            Configure(options =>
            {
                options.Resources
                    .Add("vi")
                    .AddBaseTypes(typeof(AbpValidationResource))
                    .AddVirtualJson("/Localization/Software");
    
                options.DefaultResourceType = typeof(SoftwareResource);
            });
    
            Configure(options =>
            {
                options.MapCodeNamespace("Software", typeof(SoftwareResource));
            });
        }
    }
    
    

    and Solann.Software.Domain.Shared

    <Project Sdk="Microsoft.NET.Sdk">

    <Import Project="....\common.props" />

    <PropertyGroup>
    <TargetFramework>net9.0</TargetFramework>
    <Nullable>enable</Nullable>
    <RootNamespace>Solann.Software</RootNamespace>
    <GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
    </PropertyGroup>

    <ItemGroup>
    <PackageReference Include="Volo.Abp.BackgroundJobs.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Abp.AuditLogging.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Abp.FeatureManagement.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Abp.PermissionManagement.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Abp.SettingManagement.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Abp.BlobStoring.Database.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Abp.GlobalFeatures" Version="9.2.0-rc.1" />
    </ItemGroup>

    <ItemGroup>
    <PackageReference Include="Volo.Abp.OpenIddict.Pro.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Abp.Identity.Pro.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Abp.LanguageManagement.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Saas.Domain.Shared" Version="9.2.0-rc.1" />
    <PackageReference Include="Volo.Abp.Gdpr.Domain.Shared" Version="9.2.0-rc.1" />
    </ItemGroup>

    <ItemGroup>
    <PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="9.0.3" />
    </ItemGroup>

    <ItemGroup>
    <EmbeddedResource Include="Localization\Software*.json" />
    <Content Remove="Localization\Software*.json" />
    </ItemGroup>

    </Project>

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Please share the domain.shared project's csproj content, thanks.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    It is available in ABP NuGet.

    image.png

  • User Avatar
    0
    nguyendigital created

    I tried: image.png

    but still no success.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    You can try add <PackageReference Include="Volo.Abp.LeptonXTheme.Management.Domain.Shared" Version="4.2.0-rc.1" /> to your domain.shared project's csproj

  • User Avatar
    0
    nguyendigital created

    image.png

    I also added it manually but it still didn't work.

    I tried creating a new project and upgrading from 9.1 to 9.2rc and adding Volo.Abp.LeptonXTheme.Management.Domain.Shared still failed.

  • User Avatar
    0
    nguyendigital created

    image.png

    I think the problem is here

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    It is available

    image.png

  • User Avatar
    0
    nguyendigital created

    image.png

    image.png

    Please help me. Because I tried the same as you but completely different.

    • volo.abp.leptonxtheme.management.domain.shared not found

    • Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX is available

  • User Avatar
    1
    EngincanV created
    Support Team .NET Developer

    image.png

    image.png

    Please help me. Because I tried the same as you but completely different.

    • volo.abp.leptonxtheme.management.domain.shared not found

    • Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX is available

    Hi @nguyendigital, thanks for reporting the problem. We have published the related NuGet packages; however, we should have configured them on our side to let our customers use them. Now, we made the necessary change, and you should be able to access to the related NuGet packages.

    Please let me know about the status. Your ticket has been refunded btw. Regards.

  • User Avatar
    0
    nguyendigital created

    It's work.
    But at the same time it will generate another error when my database already has data.

    I still haven't found the optimal way to transfer my old data to be compatible with mongo v3

    System.FormatException: 'An error occurred while deserializing the Id property of class Volo.Abp.Domain.Entities.Entity`1[[System.Guid, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]: Expected BsonBinarySubType to be UuidStandard, but it is UuidLegacy.'
    
    

    image.png

  • User Avatar
    0
    nguyendigital created

    I think the best way is from the current database we will create a new one to get the data to be compatible with the structure of mongo v3 but it will be a bit complicated. I wonder if there is a better solution?

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    I think the best way is from the current database we will create a new one to get the data to be compatible with the structure of mongo v3 but it will be a bit complicated. I wonder if there is a better solution?

    Actually, if you are building your application relatively new and your data is not important at the point, it's the easiest way as you said. If you need another solution, I need to know more details such as properties in the related entity, your custom implementation if there is any, etc.

  • User Avatar
    0
    nguyendigital created

    I have successfully converted. Here is the code for anyone who needs it: https://nguyendigital.net/migrating-mongodb-guids-from-legacy-to-standard-format-in-abp

    Finally, thank you ABP so much for the help these past 2 days.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    I have successfully converted. Here is the code for anyone who needs it: https://nguyendigital.net/migrating-mongodb-guids-from-legacy-to-standard-format-in-abp

    Finally, thank you ABP so much for the help these past 2 days.

    Thanks for sharing your steps and nice words. Closing the issue since your problem is resolved. Feel free to open it if there is any problem related to this ticket.

    Regards

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10