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!

    ProGet Not Indexing Source

    Scheduled Pinned Locked Moved Support
    sourceprogetsymbols
    7 Posts 1 Posters 38 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

      I created a package with sources as described here: http://blog.davidebbo.com/2011/04/easy-way-to-publish-nuget-packages-with.html

      If I push the symbol package to NuGet.org and SymbolServer.org as described in the post, Visual Studio 2015 Pro correctly downloads the PDB and the source to its symbol cache. However, when I push the same package to ProGet, I only get the PDB in the cache. No source. I check the NuGet package I'm uploading and the source is in there.

      I have verified that neither the PDB as created during build or downloaded from ProGet contains a SRCSRV stream using pdbstr.exe. The PDB pulled from SymbolServer.org does contain this stream. So it seems that ProGet is not indexing the source in my NuGet package and updating the PDB. I do not have any errors showing in ProGet, indexing or otherwise.

      What am I missing?

      Product: ProGet
      Version: 3.8.0

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

        Please see Question #3519 for some debugging and diagnosing tips for getting source working.

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

          Thanks but I've already seen that one. I'm only pushing the symbols package to the feed. I have verified that the PDB is downloaded and then loaded by Visual Studio (using the Modules window). My issue is that the source is never downloaded. It's not even requested by VS (looking at Fiddler).

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

            My bad, I linked the wrong question. Please see #3519 for debugging, specifically on using pdbstr to see what's indexed. I also updated my original answer.

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

              I was able to get it to work. What the ProGet documentation does not make clear is that you must index your source yourself (adding a SRCSRV stream to the PDB) before uploading. SymbolSource.org does not have this requirement and it will add the SRCSRV data for you.

              I followed the post below to get tfsindex.cmd to work for me (I use TFS) and add a SRCSRV stream to the PDB. Once I did that, packed with NuGet with the -Sym flag and pushed the package to ProGet, VS was able to download the source and debugging worked.

              http://techblog.dorogin.com/2012/09/troubleshooting-debug-symbols-indexing.html

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

                Actually ProGet does index the source, or at least tries to.

                So, at least you know where the problem is. Check the error logs to see if there was an error indexing, or view the PDB downloaded via visual studio (not the one in the package) to see what SRCSRV stream is added.

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

                  The SRCSRV stream for downloaded PDBs was always empty. Once I added that stream ProGet correctly updated it to point at itself.

                  I never saw errors on the /administration page of ProGet. Is there somewhere else to look? I'd like to be able to skip the local indexing step if possible.

                  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