Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Include symbols in nuget packages #36

Open
zleao opened this issue Dec 30, 2020 · 5 comments
Open

[Request] Include symbols in nuget packages #36

zleao opened this issue Dec 30, 2020 · 5 comments

Comments

@zleao
Copy link

zleao commented Dec 30, 2020

Would it be possible to include the symbols in the new 3.X-pre nuget packages?
This would make debugging so much easier :)

@dhindrik
Copy link
Collaborator

I am trying to push them but it doesn't seem to work. Do you have any idea why? https://github.com/TinyStuff/TinyMvvm/blob/3.0/build.cake

@zleao
Copy link
Author

zleao commented Jan 14, 2021

I think that the URL to push the symbols is: https://www.nuget.org/api/v2/symbolpackage/
So it might be the case that you migth need to set the settings.Source = "https://www.nuget.org/api/v2/symbolpackage/" before trying to push the symbols

@zleao
Copy link
Author

zleao commented Jan 16, 2021

Any news on this?

@dhindrik
Copy link
Collaborator

I tried, but it doesn't seem to work.

@zleao
Copy link
Author

zleao commented Jan 22, 2021

ok. That is weird. I have some pipelines configured in AzureDevOps, that are delivering packages with symbols to nuget.
When looking at the logs of the execution I see the following:

Pushing <PackageName>.nupkg to 'https://www.nuget.org/api/v2/package'...
PUT https://www.nuget.org/api/v2/package/
Created https://www.nuget.org/api/v2/package/ 520ms
Your package was pushed.

Pushing <PackageName>.snupkg to 'https://www.nuget.org/api/v2/symbolpackage'...
PUT https://www.nuget.org/api/v2/symbolpackage/
Created https://www.nuget.org/api/v2/symbolpackage/ 558ms
Your package was pushed.

I'm not very familiarized with cake, so not sure what could be changed in your script.
Nevertheless, thank you for taking a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants