0

I've 4 project structure below:

  1. Core
  2. Infrastructure
  3. Ship
  4. Ship.aspnet

Where when I create a nuget package from ship project, it should contain all the dependent project dlls i.e. 1, 2 and 4.

At the moment when I create a VSTS Nuget Packager Task pointing to ship project, it generates the *.ship nuget package. However, when I consume this package the compiler complains that core, infrastructure and ship.aspnet dlls are missing.

Thanks.

Nil Pun
  • 17,035
  • 39
  • 172
  • 294
  • Possible duplicate of [this](http://stackoverflow.com/questions/7486651/create-nuget-package-with-multiple-dlls) SO question – Jeroen Heier Feb 23 '17 at 20:28

1 Answers1

1

Just include -IncludeReferencedProjects argument.

enter image description here

starian chen-MSFT
  • 33,174
  • 2
  • 29
  • 53