I have a solution with multiple projects, each with a .nuspec and some project references between them. I build/release it as one framework and want to have a single version number for each release so I specify that on the command-line of pack with -version.
When using the new -IncludeReferencedProjects, it correctly detects dependencies but uses the assembly version of the target project and not my -version override that I supply for the pack command.
I can see an argument that this is how it's intended to function, but I also think my use case is a pretty common scenario.
When using the new -IncludeReferencedProjects, it correctly detects dependencies but uses the assembly version of the target project and not my -version override that I supply for the pack command.
I can see an argument that this is how it's intended to function, but I also think my use case is a pretty common scenario.