-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Include pdb file in nuget package? #1111
Comments
hmmmm... I'm not sure. We ship release builds, and I would prefer not to bloat the NuGet packages as they are included in the Prism Template Pack which would really increase the sizes of them. If you need to debug, why not just download the source code? |
As I recall it is technically possible, and I know Xamarin does include the pdb file in the Xamarin.Forms NuGet... but its one of the very few, and Xamarin doesn't even consistently do that across all of their packages. Generally speaking including symbols in a NuGet isn't something you do for releases. If we did provide the pdb's for each build, I believe it would end up being hosted on MyGet and it would be up to the individual developer to add it as a Symbols Source in Visual Studio. |
Going with Dan's option on this. |
First of all, .pbd will only help with Call Stack info and Stack traces. In order to step into Prism code you will need both .pbd and source files. The recommended way to do this for public nuget packages is to create a separate symbol package and make that available on http://www.symbolsource.org/. Details can be found here: https://www.visualstudio.com/en-us/docs/build/steps/utility/copy-and-publish-build-artifacts And here is the announcement Microsoft partnership with http://www.symbolsource.org/ in 2011. http://blog.davidebbo.com/2011/04/easy-way-to-publish-nuget-packages-with.html |
@sunefred I thought you were asking for this to be part of the NuGet that we ship on NuGet... that would never happen. As you mentioned .pbd's are only part of it... this is something that we can certainly look more into once we stabilize the CI/CD pipeline for all of Prism. I know there are several options for how to best do this, so it may take a while before we decide how we want to handle this. |
@dansiegel What's the usual practice as a library author if you want to give your users the PDBs? |
my libraries now include symbol packages on MyGet... and it's planned to be added to Prism. I'll try to sneak it in before we do the next public preview. AFAIK VS4Mac doesn't really support custom symbol sources, but VS4Windows will allow you to add the MyGet feeds as a symbols source. |
@dansiegel symbol packages are of great help to debug easily issues. It would also encourage people to debug their issues themselves instead of opening up tens of questions on StackOverflow only to realize they forgot to do something their own. |
@dansiegel It would be fantastic to get the PDBs working with next release. Thank you |
@dansiegel |
Symbols are now being published to MyGet. Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/prism/symbols/ |
Symbol servers are nice. Switching to VS 2015, I build the Prism.Wpf solution and especially the Prism Autofac project to obtain Prism.pdb, Prism.Wpf.pdb and Prism.Wpf.Autofac.pdb files, which I was looking after. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Is it possible include pdb file in nuget package? thus it will be easier for VS to debug.
The text was updated successfully, but these errors were encountered: