Open Closed

Error when restore a Blazor project (GitLab DevsOps) #3261


User avatar
0
david.hurtado created

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v4.4.2

  • UI type: Blazor

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace:

I get an error when restore a Blazor project, this task was running complete early in the morning, but about four hours ago, doesn't run anymore. I think it's releted to a package that is not aviable anymore. => Volo.Abp.Account.Pro.Admin.Application.Contracts (4.4.2). This task was running in a docker image stored on GitLab for a devsops deployment.

The command that run is this:

dotnet restore Galac.Tickets.Blazor.csproj

In a windows os run correctly, but on a docker image (debian os) doesn't run anymore. The image used for generate is this => mcr.microsoft.com/dotnet/sdk:5.0

The complete error trace is this.

Determining projects to restore... /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.Account.Pro.Admin.Application.Contracts (>= 4.4.2) but Volo.Abp.Account.Pro.Admin.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.Account.Pro.Admin.HttpApi (>= 4.4.2) but Volo.Abp.Account.Pro.Admin.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.Account.Pro.Public.Application.Contracts (>= 4.4.2) but Volo.Abp.Account.Pro.Public.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Public.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.Account.Pro.Public.HttpApi (>= 4.4.2) but Volo.Abp.Account.Pro.Public.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Public.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.AuditLogging.Application.Contracts (>= 4.4.2) but Volo.Abp.AuditLogging.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.AuditLogging.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.AuditLogging.HttpApi (>= 4.4.2) but Volo.Abp.AuditLogging.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.AuditLogging.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Domain.Shared depends on Volo.Abp.Commercial.SuiteTemplates (>= 4.4.2) but Volo.Abp.Commercial.SuiteTemplates 4.4.2 was not found. An approximate best match of Volo.Abp.Commercial.SuiteTemplates 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.Identity.Pro.Application.Contracts (>= 4.4.2) but Volo.Abp.Identity.Pro.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.Identity.Pro.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Domain.Shared depends on Volo.Abp.Identity.Pro.Domain.Shared (>= 4.4.2) but Volo.Abp.Identity.Pro.Domain.Shared 4.4.2 was not found. An approximate best match of Volo.Abp.Identity.Pro.Domain.Shared 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.Identity.Pro.HttpApi (>= 4.4.2) but Volo.Abp.Identity.Pro.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.Identity.Pro.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.IdentityServer.Application.Contracts (>= 4.4.2) but Volo.Abp.IdentityServer.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.IdentityServer.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] Tickets.HttpApi.csproj : error NU1605: Galac.Tickets.HttpApi -> Galac.Tickets.Application.Contracts -> Volo.Abp.FeatureManagement.Application.Contracts (>= 4.4.2) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : error NU1605: Detected package downgrade: Volo.Abp.PermissionManagement.Application.Contracts from 5.0.0 to 4.4.2. Reference the package directly from the project to select a different version. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : error NU1605: Galac.Tickets.HttpApi -> Galac.Tickets.Application.Contracts -> Volo.Abp.Identity.Pro.Application.Contracts5.0). Package Volo.Abp.LeptonTheme.Management.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.IdentityServer.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.IdentityServer.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.LanguageManagement.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.LanguageManagement.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Saas.Host.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Saas.Host.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.TextTemplateManagement.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.TextTemplateManagement.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.AuditLogging.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.AuditLogging.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.Identity.Pro.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.Identity.Pro.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.Account.Pro.Admin.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.Account.Pro.Admin.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.Account.Pro.Public.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.Account.Pro.Public.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /buo.Abp.FeatureManagement.Application.Contracts from 5.0.0 to 4.4.2. Reference the package directly from the project to select a different version. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Saas.Host.Application.Contracts 5.0.0 -> Volo.Abp.FeatureManagement.Application.Contracts (>= 5.0.0) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Abp.FeatureManagement.Application.Contracts (>= 4.4.2) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Detected package downgrade: Volo.Abp.PermissionManagement.Application.Contracts from 5.0.0 to 4.4.2. Reference the package directly from the project to select a different version. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Abp.Identity.Pro.Application.Contracts 5.0.0 -> Volo.Abp.PermissionManagement.Application.Contracts (>= 5.0.0) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Abp.PermissionManagement.Application.Contracts (>= 4.4.2) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] Failed to restore /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj (in 672 ms).


3 Answer(s)
  • User Avatar
    0
    zhongfang created

    /builds/change/account/src/Yee.Change.Account.Domain.Shared/Yee.Change.Account.Domain.Shared.csproj : error NU1103: Unable to find a stable package Volo.Abp.Identity.Pro.Domain.Shared with version (>= 5.3.0)

    The newest stable version of above package is 5.0.2?

  • User Avatar
    0
    zhongfang created

    Volo.Abp.Identity.Pro.Domain need standard 2.1?

    So I must change all of my projects with Domain from NET Standard 2.0 to NET Standard 2.1.

  • User Avatar
    0
    david.hurtado created

    Thanks @zhongfang for yor answer but all my projects reference to .Net 5.0 I probe generation and It's run properly without make any change.

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