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.
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 ...