Include pdb files into my nuget (nupkg) files

前端 未结 6 560
盖世英雄少女心
盖世英雄少女心 2020-12-13 12:52

I am using MSBuild to generate my nuget packages.

Is there any command I need to set, to allow it to include my .pdb files, for stepping into the source

6条回答
  •  失恋的感觉
    2020-12-13 12:54

    This can also be accomplished with the dotnet CLI.

    By packaging with

    dotnet pack --include-symbols --include-source [path-to-project-here]
    

    I get full debugging on the packages I generated

提交回复
热议问题