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!

Strip symbol files from packages option not working as expected



  • Hi

    I have setup a feed where "Strip symbol files from packages downloaded from this feed" option are enabled.

    Published a .net *.symbols.nupkg package to this feed, and on installing package from visual studio getting the .pdb files inside /lib folder even though "Strip symbol files from packages downloaded from this feed" option is checked on the feed configuration page.

    Is this a bug? Or I'm missing something here?

    Product: ProGet Version: 4.6.3

    Product: ProGet
    Version: 4.6.3

    Product: ProGet
    Version: 4.6.3



  • In this case, please check to make sure tat the symbols are indexed. You can see this on the left-side of the package page, and click on the details to see the indexed symbols.

    If there are no symbols indexed, then it means the package is not properly formed. There are very specific requirements for where to put symbols files, please refer to the NuGet package documentation for how to do that.



  • Hi Team,

    Left-side of the page I'm getting like below:

    Symbols & Source
    Symbols and source files are available. [view].

    Clicking on view hyperlink getting a popup with the title as "The following symbols have been indexed in this package:" and a table with 3 columns 'Path', 'Guid' and 'Age'.

    @Alana. Is this you meant by Indexed Symbols?

    Thanks.
    Akhil



  • That's correct; so, if it is an empty list, then no symbols are indexed. It means, the symbols were not in the expected location in the package.



  • I'm getting values under the table. That refers symbols are indexed.



  • As per your above reply, I have all the symbols indexed properly.
    Still, on installing package from visual studio, I'm getting the .pdb files inside /lib folder even though "Strip symbol files from packages downloaded from this feed" option is checked on the feed configuration page.

    Please let me know if anything is missed.

    Thanks



  • Hmm , that's strange. One possibility is that there is a cached package on your computer.... are you certain that the package on your machine is being freshly downoaded? Note there are serveral NuGet caches to clear...



  • I'm clearing the cache every time before installing the new package. But the .pdb files are still there in the /lib folder along with the *.dll's.



  • I see; I really don't know then...

    So, please produce a sample .nuget package, and then send it as a support ticket so a support engineer can further investigate.



  • Hi Team, Thanks for all your support.
    I was clearing the temp cache for symbol server.

    Cleaning up a nuget cache fixes the problem for me.

    Thanks.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation