Open Closed

Fail to download commercial nuget packages while restoring #6570


User avatar
0
avbyte created

Hi,

I would like to report an issue we are facing as an Organization in a whole. Despite using a valid commercial license, we fail to download commercial-only nuget packages while restoring. Details as listed below

  • ABP Framework version: v7.4.5
  • UI Type: Blazor WASM
  • Database System: EF Core (SQL Server) / Dapper
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  Determining projects to restore...
C:\Byte\byte-project\src\ByteProject.HttpApi.Client\ByteProject.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\src\ByteProject.HttpApi\ByteProject.HttpApi.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\src\ByteProject.HttpApi\ByteProject.HttpApi.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\src\ByteProject.Blazor\ByteProject.Blazor.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\src\ByteProject.HttpApi.Host\ByteProject.HttpApi.Host.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\src\ByteProject.HttpApi.Host\ByteProject.HttpApi.Host.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\src\ByteProject.HttpApi.Host\ByteProject.HttpApi.Host.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
  Failed to restore C:\Byte\byte-project\src\ByteProject.HttpApi.Client\ByteProject.HttpApi.Client.csproj (in 1.93 sec).
  Failed to restore C:\Byte\byte-project\src\ByteProject.HttpApi\ByteProject.HttpApi.csproj (in 2.21 sec).
  Failed to restore C:\Byte\byte-project\src\ByteProject.Blazor\ByteProject.Blazor.csproj (in 2.75 sec).
C:\Byte\byte-project\src\ByteProject.Application.Contracts\ByteProject.Application.Contracts.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
  Failed to restore C:\Byte\byte-project\src\ByteProject.Application.Contracts\ByteProject.Application.Contracts.csproj (in 388 ms).
  Failed to restore C:\Byte\byte-project\src\ByteProject.HttpApi.Host\ByteProject.HttpApi.Host.csproj (in 3.46 sec).
C:\Byte\byte-project\test\ByteProject.Data.Tests\ByteProject.Data.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\test\ByteProject.Data.Tests\ByteProject.Data.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\test\ByteProject.Data.Tests\ByteProject.Data.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\src\ByteProject.Application\ByteProject.Application.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\src\ByteProject.Application\ByteProject.Application.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\test\ByteProject.Domain.Tests\ByteProject.Domain.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\test\ByteProject.Domain.Tests\ByteProject.Domain.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\test\ByteProject.Domain.Tests\ByteProject.Domain.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
  Failed to restore C:\Byte\byte-project\src\ByteProject.Application\ByteProject.Application.csproj (in 1.01 sec).
  Failed to restore C:\Byte\byte-project\test\ByteProject.Data.Tests\ByteProject.Data.Tests.csproj (in 3.65 sec).
C:\Byte\byte-project\test\ByteProject.Application.Tests\ByteProject.Application.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\test\ByteProject.Application.Tests\ByteProject.Application.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\test\ByteProject.Application.Tests\ByteProject.Application.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
  Failed to restore C:\Byte\byte-project\test\ByteProject.Domain.Tests\ByteProject.Domain.Tests.csproj (in 3.69 sec).
  Failed to restore C:\Byte\byte-project\test\ByteProject.Application.Tests\ByteProject.Application.Tests.csproj (in 3.84 sec).
C:\Byte\byte-project\test\ByteProject.HttpApi.Tests\ByteProject.HttpApi.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\test\ByteProject.HttpApi.Tests\ByteProject.HttpApi.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\test\ByteProject.HttpApi.Tests\ByteProject.HttpApi.Tests.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
C:\Byte\byte-project\src\ByteProject.DbMigrator\ByteProject.DbMigrator.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.Application.Contracts. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, CliFallbackFolder, devexpress.com, Microsoft Visual Studio Offline Packages, nuget.org [C:\Byte\byte-project\ByteProject.sln]
  Failed to restore C:\Byte\byte-project\test\ByteProject.HttpApi.Tests\ByteProject.HttpApi.Tests.csproj (in 4.49 sec).
  Failed to restore C:\Byte\byte-project\src\ByteProject.DbMigrator\ByteProject.DbMigrator.csproj (in 1.98 sec).
  16 of 27 projects are up-to-date for restore.
  • Steps to reproduce the issue:
    • Establish a totally clear environment (delete all obj,bin folders & force clear nuget cache through nuget locals all -clear)
    • Attempt to restore nuget packages either using the UI facility of VS on the root of the Solution or outside the IDE through dotnet restore

Looking forward for your advice on how to overcome this. Thanks in advance,

Antonis Varkas Byte Computer


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

    hi

    Please add your private NuGet source to nuget.config

    https://commercial.abp.io/my-organizations/

     No packages exist with this id in source(s): 
    C:\Program Files\dotnet\library-packs, 
    CliFallbackFolder, 
    devexpress.com, 
    Microsoft Visual 
    Studio Offline Packages, 
    nuget.org
    
    

    https://learn.microsoft.com/en-us/nuget/reference/nuget-config-file

  • User Avatar
    0
    avbyte created

    Dear maliming,

    thanks a lot for you response. I do confirm that the suggested action resulted in a successful package restore.

    Best Regards, Antonis Varkas Byte Computer

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