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
-
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...
-
sorry - it is happening for ~all~ packages...and happens if I run NuGt from the command line too
-
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)
-
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
-
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! :)