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!

    Working with symbols in nuget packages works not as expected.

    Scheduled Pinned Locked Moved Support
    4 Posts 3 Posters 9 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.
    • S Offline
      stijn.peeters.external_8202
      last edited by

      We have been looking to add symbols to some packages for our nuget feed.
      We enabled symbol support for the feed.

      We then tried to provide *.snupkg to the drop folder, where they didn't get picked up.
      Ok, we then tried to embed the pdb during the build of the package, but then the pdb are always downloaded because they are part of the dll and striping does not remove them from the dll.

      We are not sure what striping now exactly entails when you enable it. Do we have to make nuget packages where the pdb are separately stored or something? Is this something we can configure in the buildoptions of the project or do we have to make the package separately.

      Any guidance would be appriciated, thanks in advance!

      1 Reply Last reply Reply Quote 0
      • Dan_WoolfD Offline
        Dan_Woolf inedo-engineer
        last edited by

        Hello @stijn-peeters-external_8202,

        Unfortunately, symbol packages are a bit complicated - and don't work quite as intuitively as NuGet packages.

        Some quick configuration details:

        • We recommend a single package (using the "embedded symbols" approach)
        • Push the package to the normal /nuget endpoint not /symbols
        • ProGet can strip symbols automatically, this can be configure on the Manage Feed page

        Our symbol documentation has some advice on how to configure and set all this up:
        https://docs.inedo.com/docs/proget-feeds-nuget-symbol-and-source-server#creating-symbol-packages

        Hope this helps!

        Thanks,
        Dan

        1 Reply Last reply Reply Quote 0
        • S Offline
          stijn.peeters.external_8202
          last edited by

          Thanks for the feedback, the thing that caused some confusion is that for uncached packages on our buildagents, we began to get errors about modified nuget packages after enabling the striping of the symbols from the nuget packages

          We can't ask all developers to use this feed to get their packages and re-do of all existing code.
          So striping is not an option.

          We'll continue to work with the full packages always for now.

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @stijn.peeters.external_8202
            last edited by

            @stijn-peeters-external_8202 Thanks for letting us know; we do have plans to improve this in ProGet 2023, and make it much easier to use.

            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