Forum General

nuget restoring packages from wrong feed on mac agent build

KrisMeermansKrisMeermans USMember ✭✭

I have a nuget config containing multiple feeds (regular one and telerik)
Restoring from visual studio - > no problem
Restoring from xamarin studio on mac -> no problem
Restoring from commandline (and thus also the build agent vsts connects to) : package versions not found

for example (shortened)
GET https://nuget.telerik.com/nuget/Packages(Id='Refractored.MvvmHelpers',Version='1.0.1.0') System.InvalidOperationException: Unable to find version '1.0.1' of package 'Refractored.MvvmHelpers'. at NuGet.PackageHelper.ResolvePackage (NuGet.IPackageRepository repository, System.String packageId, NuGet.SemanticVersion version) [0x0006f] in <5168bb31f82348f797e7feef070997dc>:0 at NuGet.Commands.RestoreCommand.RestorePackage (NuGet.IFileSystem packagesFolderFileSystem, System.String packageId, NuGet.SemanticVersion version, System.Boolean packageRestoreConsent, System.Collections.Concurrent.ConcurrentQueue`1[T] satellitePackages) [0x000b2] in <572a211d3d4d428f91d5f3ddc03e5849>:0 at NuGet.Commands.RestoreCommand+<ExecuteInParallel>c__AnonStorey0+<ExecuteInParallel>c__AnonStorey1.<>m__0 () [0x0002c] in <572a211d3d4d428f91d5f3ddc03e5849>:0 at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x00012] in <dca3b561b8ad4f9fb10141d81b39ff45>:0 at System.Threading.Tasks.Task.Execute () [0x00016] in <dca3b561b8ad4f9fb10141d81b39ff45>:0

Answers

Sign In or Register to comment.