Veröffentlichen Sie Debug-Symbolquellen für Legacy .NET Framework im Nicht-SDK-Format in JFrog
Posted: 06 Apr 2025, 20:54
Ich habe eine kleine Repro (.NET481- und Nicht-SDK-Projektdatei) mit der folgenden Konfiguration: < /p>
Projektdatei: < /p> Paket auf Nuget einpackt:
) platziert. Jetzt möchte ich dasselbe tun, aber für Jfrog. Die Pack - -schritte sind gleich, aber das Veröffentlichen ist etwas anders:
nuget push "${pkg}" -Source https://comp.jfrog.io/artifactory/api/n ... al/MY_APP/ -ApiKey ${{ vars.JFROG_USER }}:${{ secrets.JFROG_API_KEY }}
< /code>
oder mit explizitem SymbolSource: < /p>
nuget push "${pkg}" -Source https://comp.jfrog.io/artifactory/api/n ... al/MY_APP/ -ApiKey ${{ vars.JFROG_USER }}:${{ secrets.JFROG_API_KEY }} -SymbolSource https://comp.jfrog.io/artifactory/api/n ... et/symbols
< /code>
Die Veröffentlichungsschritte funktionieren ebenfalls gut, aber ich kann Debugging nicht verwenden und kann auch keine Beweise von Symbolquellen finden, die auf JFrog konfiguriert sind. Wie kann ich es beheben oder was muss ich auf der Seite von Jfrog überprüfen?>
Projektdatei: < /p>
Code: Select all
portable
true
bin\Release\
TRACE
prompt
4
< /code>
Das neueste Quell -Link -Paket wird ebenfalls verbraucht. Befehle, mit denen ich
Code: Select all
nuget pack ${{ inputs.project_directory }} -Properties Configuration=Release -OutputDirectory ${{ inputs.output_path }} -Build -Symbols -SymbolPackageFormat snupkg
nuget push "${pkg}" -Source https://api.nuget.org/v3/index.json -ApiKey "${NUGET_API_KEY}"
< /code>
Dies funktioniert gut. Ich kann VS konfigurieren, um Nuget -Paket -Debugging zu [url=viewtopic.php?t=12298]ermöglichen[/url] (die Quellverbindungsdateien werden in einem TEMP -Ordner wie ..Appdata \ Local \ Quellerver \ ..
nuget push "${pkg}" -Source https://comp.jfrog.io/artifactory/api/n ... al/MY_APP/ -ApiKey ${{ vars.JFROG_USER }}:${{ secrets.JFROG_API_KEY }}
< /code>
oder mit explizitem SymbolSource: < /p>
nuget push "${pkg}" -Source https://comp.jfrog.io/artifactory/api/n ... al/MY_APP/ -ApiKey ${{ vars.JFROG_USER }}:${{ secrets.JFROG_API_KEY }} -SymbolSource https://comp.jfrog.io/artifactory/api/n ... et/symbols
< /code>
Die Veröffentlichungsschritte funktionieren ebenfalls gut, aber ich kann Debugging nicht verwenden und kann auch keine Beweise von Symbolquellen finden, die auf JFrog konfiguriert sind. Wie kann ich es beheben oder was muss ich auf der Seite von Jfrog überprüfen?>