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 Server with nuget native packets

    Scheduled Pinned Locked Moved Support
    symbolsnugetproget
    4 Posts 1 Posters 17 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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hello.

      I generate and load native nuget packages (c++) to proGet.
      I generate a nupkg and a symbols.nupkg that are loaded correctly into proGet but when I browse the default feed or search for a package I see both packages (like they where two different objects). When we go to the page of a package we see for all versions "No symbols or source files are available.".
      I also configured Visual Studio 2012 (following the inedo KB) to use proGet as a symbol server and checked/rebuild index on proGet but Visual Studio do not load the symbols at debug time of the packages I install from proGet (I also used fiddler to monitor the exchange between VS and proGet and I see requests for kernel symbols for example, but not for any symbol related to the nuget packages I installed from proget).

      What could I check to fix that?

      Thanks a lot for any help.

      Product: ProGet
      Version: 3.2.1

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Please note, from the documentation on Symbols and Source Serving:

        Because ProGet integrates symbols in all of its NuGet feeds, having two packages is not necessary and can actually be counterproductive. Symbol packages only differ from "normal" packages by convention, so attempting to push both to a ProGet feed will result in a race condition - whichever package is pushed "last" will overwrite the original one.

        So, please don't push both packages to the same feed. Either push a combined one, or use two packages and push each to a different feed.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Hello.

          Thank you.very much for the information.

          Do you know if there is any way to have nuget generate just one nupkg packet with symbols and everything else?
          I've seen samples using a nuspec instead of an autopkg definition file but looks like nuspec is not available for native (c++) mode.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            If you don't specify the symbols option, but include everything in a src directory, then it will work.

            Keep in mind a NuGet package is just a zip file, so if you're having trouble using nuget.exe with nuspec files and native packages, then you might find it easier to workaround by creating the zip file. Just remember to follow the conventions.

            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