简体   繁体   中英

Pushing nuget symbol packages to Artifactory removes ".symbols." from the package name and overwrites the regular package

I am pushing Nuget packages ( .nupkg ) and their associated symbol packages ( .symbols.nupkg ) to Artifactory with do.net nuget push . However, in every way I have tried to do it, the .symbols part of the package name is removed, and the original, non-symbols package gets overwritten. Even if I push only the symbols package, it gets renamed.

In addition, it is my understanding that Artifactory is supposed to parse the .pdb file and add data under .symbols/ in the root of the repo. The repo has previously pushed packages (from a long time ago) that have both the correct file names and the correct entries under .symbols/ . However, I am pushing from a new script.

I have tried pushing the packages as part of a single operation with --symbol-source , which seems to put the incorrectly named symbols package in both places. I have tried pushing regular and symbols packages in separate operations to completely separate repos. I have tried using the newer .snupkg format. I have tried pushing with vanilla nuget instead of do.net nuget . In all cases I still wind up with a symbols package with no .symbols. in the name, and no parsed .pdb data in the .symbols/ directory.

The environment where this script runs is the stock do.net:7.0 container provided by Microsoft, which is based on Debian 10.

Please check if the following property was set to True: artifactory.nuget.symbol.server.support.enabled

If it was set, please share your Artifactory version and your uploading script.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM