Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Error during build while retrieving packages from local ProGet Feed

    Scheduled Pinned Locked Moved Support
    nugetbuildmasterproget
    5 Posts 1 Posters 23 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      we are getting the following build error during our Integration build on our BuildMaster installation, while trying to retrieve locally-created nugget packages through our ProGet Feed:

      C:\BuildMaster\_SVCTMP\_A1010\Src\.nuget\NuGet.targets(89,5): error : Unable to find version '1.24.1' of package 'xxx'. 
      
      C:\BuildMaster\_SVCTMP\_A1010\Src\.nuget\NuGet.targets(89,5): error MSB3073: The command ""..\..\.nuget\NuGet.exe" install "C:\BuildMaster\_SVCTMP\_A1010\Src\server\xxx\packages.config" -source "http://xxserver:81/nuget/Default" -NonInteractive -RequireConsent -solutionDir "..\..\ "" exited with code 1. 
      

      the Proget Feed contains 2 connectors (1 for a private feed and one for the official nugget source). We can access the feed page with a browser and with our development IDE - its only the buildmaster build that is failing...and it only seems to be the private feed packages which are causing a problem...

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        sorry - it is happening for ~all~ packages...and happens if I run NuGt from the command line too

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          and if I point it at the official nuget package source directly, it finds all the public packages, but none of our private ones (which is obviously expected)

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            You'll need to either use the NuGet BuildMaster action (and disable package restore), or edit your NuGet config file (see http://docs.nuget.org/docs/reference/nuget-config-file) in the solution to point to your local ProGet repository

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              We managed to resolve this - it turns out that the proget feeds were being ignored because the version of proget was not compatible with NuGet 2.7.1.

              An update to the latest version of ProGet resolved the issue.

              Thanks for the response though! :)

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation