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!

    Symbol Packages (snupkg) and Drop Folders

    Scheduled Pinned Locked Moved Support
    6 Posts 2 Posters 16 Views 2 Watching
    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.
    • M Offline
      msimkin_1572
      last edited by

      ProGet version: 2022.0 (Build 37)
      Windows Server 2012 R2 Standard

      I've been trying for the last few days to get symbol packages to be pushed reliable to a symbol specific feed in ProGet.

      I've configured the feed as per the ProGet Docs. I've noticed that sometimes nuget push will work as expected and other times the symbol file never appears in the feed.

      I've seen the other forum discussions, the note about future enhancement for next year, the bug report in the Nuget GitHub repo.

      In order to get something reliable to work, I decided to use a drop folder. I made sure that the ProGet Service account (Network Service) has full permissions to the drop folder.

      I created a network share to with the correct permissions for the build server to use. I have the Team City build job copy the symbol file to the appropriate folder under the network share.

      I see the file in that drop folder after the build complete.

      However, it never gets imported into the associated feed by ProGet. I confirmed that the drop folder is configured for the feed. I've checked the frequency of when the folders are checked.

      Everything seems to be configured ok, just no file is being imported.

      I looked for any log in the diagnostic center and the event log. There is no entries at all. Nothing informing that even an attempt was made to process the package.

      Any ideas why the symbol file is not being imported?

      Thanks

      -marc

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

        Hi @msimkin_1572 ,

        I think that one package is overwriting the other.

        Currently, you'll need to either:

        • embed the symbol files in your nuget package (easiest)
        • -or -
        • create two feeds, one for packages, the other for symbols

        In the future (targeting v2023), we plan improve this so you can have a symbol package and a regular package in the same feed.

        1 Reply Last reply Reply Quote 0
        • M Offline
          msimkin_1572
          last edited by msimkin_1572

          They are not overwriting each other.

          There are two feeds, one for the actual library package and a different feed for the symbol package. The library package is pushed using nuget push. The symbol package is placed in the drop folder.

          I looked at the drop folder for the symbol feed when I got in this morning and it was still there. Proget didn't import it.

          The symbol feed is configured as a nuget feed. Will the code that monitors the drop folder look for a snupkg file or only nupkg?

          Besides using a combined feed, which is a non-starter, too many jobs in Team City will need to be changed. Is there a work around that can be used?

          Otherwise, I will have to write a very opinionated console app or PowerShell script to be called from the Team City jobs. Which is still significant work, as I would need to change all the jobs.

          Thanks

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

            @msimkin_1572 I believe that the drop folder importer only looks for .nupkg files; so if you just rename it then it should work. The imports should happen within a minute or so, since it monitors pretty frequently

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              msimkin_1572 @atripp
              last edited by

              @atripp If I rename the file will it be treated as a symbol file? It will only have the PDB inside, no other files.

              1 Reply Last reply Reply Quote 0
              • M Offline
                msimkin_1572
                last edited by

                Renaming the file works. ProGet is still able to server the symbols contained within the file to Visual Studio for debugging.

                Thank you for your help.

                Please consider this resolved.

                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