Scenario:
- Project B references Project A.
- Project B and A both have .nuspec files and packages.config files
- Command issued:
for /R %%f in (Company.*.csproj) do nuget pack "%%~ff" -Properties Configuration=Release -BasePath "%%~dpf" -IncludeReferencedProjects
All project packages get created successfully, but the nuget package for project B does not include project A as a nuget package dependency. I thought this was the purpose of IncludeReferencedProjects. What am I missing?