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



  • 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



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



  • 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).



  • 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.



  • 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



  • 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.



  • 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.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation