loresoft/msbuildtasks

IncludeReferencedProjects in NugetPack task not working

ctyar opened this issue · 0 comments

ctyar commented

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.