How to package and deploy a NuGet package with symbols and source code so that debugger can use THAT source code?
问题 I have created a very simple NuGet package from a .net framework visual studio Class Library project, where the class library source is in C#. I used this command to create the nuget package: nuget pack MyProject.csproj -symbols -Properties "Configuration=Debug" -suffix debug Which creates, as I expect, two nuget package file, namely: MyProject.1.0.0-debug.symbols.nupkg MyProject.1.0.0-debug.nupkg These packages are basically identical other than that the one with "symbols" includes the pdb