TinyMvvm icon indicating copy to clipboard operation
TinyMvvm copied to clipboard

[Request] Include symbols in nuget packages

Open zleao opened this issue 5 years ago • 5 comments

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

zleao avatar Dec 30 '20 21:12 zleao

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

dhindrik avatar Jan 14 '21 13:01 dhindrik

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 avatar Jan 14 '21 14:01 zleao

Any news on this?

zleao avatar Jan 16 '21 14:01 zleao

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

dhindrik avatar Jan 18 '21 11:01 dhindrik

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.

zleao avatar Jan 22 '21 18:01 zleao