In 2.5, NuGet introduced the \build folder for auto-importing target files into projects.
NuGet.exe pack has had a -Tools switch that allows build outputs of a project to be placed in the \tools directory when packing. However, the command does not have an equivalent -Build switch that places build outputs in the \build directory of the package. There's already a -Build switch but that's used to indicate if the project needs to be built before packing.
NuGet.exe pack has had a -Tools switch that allows build outputs of a project to be placed in the \tools directory when packing. However, the command does not have an equivalent -Build switch that places build outputs in the \build directory of the package. There's already a -Build switch but that's used to indicate if the project needs to be built before packing.