Open Closed

Problem restoring packages #3445


User avatar
0
BlueModus created

Hello, we're having issues with the dotnet restore on Azure DevOps. We're running ABP Commercial. We cannot seem to get the Volo packages restored. How do we do this in DevOps without manually adding all the projects to the SLN?

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

  • ABP Framework version: v5.2.2

  • UI type: Blazor

  • DB provider: EF Core

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

  • Exception message and stack trace:

  • During Azure DevOps build:

  • C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Saas.Host.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Identity.Pro.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Public.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.IdentityServer.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.LanguageManagement.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg C:\agent_a_work\208\s\src\NewsMax.HttpApi.Client\NewsMax.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.TextTemplateManagement.HttpApi.Client. No packages exist with this id in source(s): NuGetOrg

  • Steps to reproduce the issue:"

Every time we run dotnet restore on Azure Devops, we get this error.


1 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Make sure you have Nuget.Config file commercial nuget source:

    <configuration>
      <packageSources>
        <add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/SOME_GUID/v3/index.json" />
      </packageSources>
    </configuration>
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11