1. Classlibrary1 references classlibrary2
2. Classlibrary2 has a nuspec file with the following
<dependencies>
<group>
<dependency id="RouteMagic" version="1.1.0" />
</group>
<group targetFramework="net40">
<dependency id="jQuery" />
<dependency id="WebActivator" />
</group>
<group targetFramework="sl30">
</group>
</dependencies>
<files>
<file src="bin\$configuration$\*.pdb" target="pdb" />
</files>
Actual:
Nuget pack -includreferencedprojects reads nuspec file for just id and version info
The resultant package doesn't have the above dependencies or pdb file added.
Expected:
If should add dependencies etc from the referenced project nuspec file
Comments: While fixing/verifying this it should also honor params like basepath when passed from nuget.exe for the referenced project.
2. Classlibrary2 has a nuspec file with the following
<dependencies>
<group>
<dependency id="RouteMagic" version="1.1.0" />
</group>
<group targetFramework="net40">
<dependency id="jQuery" />
<dependency id="WebActivator" />
</group>
<group targetFramework="sl30">
</group>
</dependencies>
<files>
<file src="bin\$configuration$\*.pdb" target="pdb" />
</files>
Actual:
Nuget pack -includreferencedprojects reads nuspec file for just id and version info
The resultant package doesn't have the above dependencies or pdb file added.
Expected:
If should add dependencies etc from the referenced project nuspec file
Comments: While fixing/verifying this it should also honor params like basepath when passed from nuget.exe for the referenced project.