Version of other project

Topics: General
Jul 23, 2013 at 11:01 AM
Edited Jul 27, 2013 at 12:32 PM
I have several projects in my solution, each of which builds a nuget package that has the same version number, so I can do things like

<dependency id="Some.Project" version="$version$" />
<dependency id="Some.Other.Project" version="$version$" />

and this works well.

However, I also have dependencies on other projects in my solution, projects that also build nuget packages but that do not have the same version number. Is there any way I can access these version numbers? What I want is basically

<dependency id="Yet.Another.Project" version="$version(Yet.Another.Project)$" />

or similar. As it is now I have to update these numbers manually or by using some kind of external script (I think).