msbuildtasks icon indicating copy to clipboard operation
msbuildtasks copied to clipboard

IncludeReferencedProjects in NugetPack task not working

Open ctyar opened this issue 10 years ago • 0 comments

A task containing this attribute returns an error

<NuGetPack IncludeReferencedProjects="true" File="$(ProjectsPath)\project.csproj" OutputDirectory="$(OutputDirectory)" ToolPath="$(NugetExecutable)" Properties="Configuration=Release" />

Output:

Build.proj(64,13): error MSB4064: The "IncludeReferencedProjects" parameter is not supported by the "NuGetPack" task. Verify the parameter exists on the task, and it is a settable public instance prop
erty.
Build.proj(64,2): error MSB4063: The "NuGetPack" task could not be initialized with its input parameters.

ctyar avatar Jan 06 '16 11:01 ctyar