O'Reilly logo

NuGet 2 Essentials by Dejan Dakić, Damir Arh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging of packages

There's one last topic to address, that is, how to enable debugging of our library by uploading its sources to a symbol server. For this purpose, NuGet is integrated with http://www.symbolsource.org; this provides an easy workflow for both publishing the sources and downloading them when debugging. Let's take a look at both.

Creating and publishing a symbol package

A symbol package must contain all the assembly files (with a dll extension), their corresponding symbol files (with a pdb extension), and of course, the sources, but none of the other files that could be included in the actual NuGet package as they were discussed before. Fortunately, NuGet will automatically include the right files in each package even if we put ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required