NuGet: pack command is NOT including nuget dependencies

后端 未结 5 731
孤独总比滥情好
孤独总比滥情好 2021-01-07 18:20

i have the following setting:

  • nuget.exe Version: 1.6.21205.9031
  • Project A.csproj packaged into A.1.0.0.0.nupkg, and published to a LOCAL package repos
5条回答
  •  迷失自我
    2021-01-07 18:56

    'Nuget.exe spec A.csproj' will create a very thin NuSpec file which won't have any dependencies. For our process use a powershell script to add the Project References and other dependencies from the project's packages.config to the node in B.nuspec.

    'Nuget.exe pack A.nuspec' will then be correct.

提交回复
热议问题