Create nuget package with multiple DLLs

后端 未结 8 1742
忘了有多久
忘了有多久 2020-12-25 09:58

Let\'s say I have a project with this structure:

MyLibrary\\
  MyLibrary.sln
  MyLibrary.Core\\
    MyLibrary.Core.csproj
  MyLibrary.Extensions\\
    MyLibr         


        
8条回答
  •  半阙折子戏
    2020-12-25 10:32

    It seems your problem is the same as this question: Why doesn't nuget include the referenced project when packing?. If so, you can use the -includereferencedprojects option (See http://docs.nuget.org/docs/reference/command-line-reference#Pack_Command).

提交回复
热议问题