How to debug code in NuGet package created by me

后端 未结 5 1993

I have a NuGet package I created and installed in another solution but now I need to debug the code of the package when called from my new solution.

I tried referenci

5条回答
  •  渐次进展
    2020-12-04 18:23

    I got this working by building the project the nuget package originated from in debug mode, then just copying the pdb and dll from the debug directory to the location of the nuget dll within the project I wanted to debug it in.

    e.g copy from

    ExternalNugetPackage\bin\Debug\

    to

    ProjectDirectory\Packages\ExternalNugetPackage.1.0.0\lib\net4.5

提交回复
热议问题