I am new to VSTS Package Management Feed. I have a visual studio solution with few projects under it. All of them have packages.config and the solution has packages folder with nuget packages with each in its own sub folder
packages_folder
- package1_subFolder
- package1.nupkg
- package2_subFolder
- package2.nupkg
.
.
.
.
- packagen_subFolder
- packagen.nupkg
How do I upload / push all of these packages with above folder structure to package management feed that I have created ?
I was able to accomplish this by using below batch command
for /r %%x in (*.nupkg) do nuget push -source "your feed url" -apikey key "%%x"
This will recursively find all the nupkg files in the current directory and push it to the destination url