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!

Add local nuget packages to ProGet feed



  • Hi all,

    I'am currently working with ProGet Free and already added a feed with a connector to nuget.org. The feed is working just fine and all common nuget packages are available.
    Beside that I have a local repository as a shared directory with internal use nuget packages that I would like to import to my ProGet feed.
    Can I import nuget packages via e. g. PowerShell command or is there any option to reference to an existing file directory?

    Thanks in advance :)


  • inedo-engineer

    Hi @dusbn,

    I think you are looking to use the Drop Path. This would allow you have ProGet monitor a folder and automatically upload a package when it exists in that folder.

    Alternatively you could use a PowerShell script to iterate through each nupkg and use nuget push to push each package.

    Thanks,
    Rich



  • Hi @rhessinger,

    thanks for your reply.

    I already tried to add a Drop Path to a local directory but nothing seems to happen, even if that option is enabled via admin config. The packages are not separated by any sub folders.

    The nuget push command via powershell works just fine 👍


  • inedo-engineer

    Hi @dusbn

    For the drop path to work. The packages do need to be at the root of the drop path directory. Do you have the packages within subfolders?

    Thanks,
    Rich



  • Hi @rhessinger,

    the packages are at the root of the given path without any subfolders defined.


  • inedo-engineer

    In this case, please ensure that the ProGet service is running and has permission to read and delete from that folder (Admin > Service). You can manually trigger the drop path monitor from that page, and see what he's doing behind the scenes.



  • Hi @atripp,

    My fault... I'd referenced a user specific path that the service could not access.

    now it's working 👍

    Thank's for the support :)


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation