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!

    Add local nuget packages to ProGet feed

    Scheduled Pinned Locked Moved Support
    7 Posts 3 Posters 14 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.
    • D Offline
      dusbn
      last edited by

      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 :)

      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        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

        Products Engineer, Inedo

        1 Reply Last reply Reply Quote 0
        • D Offline
          dusbn
          last edited by

          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 👍

          1 Reply Last reply Reply Quote 0
          • rhessingerR Offline
            rhessinger inedo-engineer
            last edited by

            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

            Products Engineer, Inedo

            1 Reply Last reply Reply Quote 0
            • D Offline
              dusbn
              last edited by

              Hi @rhessinger,

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

              1 Reply Last reply Reply Quote 0
              • atrippA Offline
                atripp inedo-engineer
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dusbn
                  last edited by

                  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 :)

                  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