Why doesn't nuget include the referenced project when packing?

后端 未结 1 967
刺人心
刺人心 2021-01-17 10:28

I have reproduced this issue in the following simple scenario

  • LibB - project
    • ClassB
  • LibA - project
    • ClassA that references
1条回答
  •  终归单人心
    2021-01-17 10:42

    NuGet 2.5 now has a -includereferencedprojects option, more details can be found here : NuGet Command-Line Interface (CLI) Reference | Microsoft Docs
    I download the latest version of nuget.exe from nuget.org/nuget.exe or by nuget update -self.

    0 讨论(0)
提交回复
热议问题