This project contains a console application that helps managing the versions of .Net projects. It uses a set of common conventions and semantic versioning.
The root version is the default version that is used when no other version is defined for a project. The root version is set by either passing a valid semantic version as an argument using the -version option or by putting a version.txt file in the starting directory.
Versions are defined by putting a file named version.txt in a directory. In a recursive scan of a solution, versions are inherited by sub directories. E.g. if a version.txt file is put in the root directory of the
[src]
|- version.txt
|- [Project1]
|- version.txt
|- [Project2]
To get a list of the available actions and options type
> aver helpThe list action lets you list the versions of the project in a directory or a directory structure.
> aver list c:\projects\myapp -recurseLists the resolved versions of the projects found in a recursive search in the c:\projects\myapp directory.
You can also list the versions of assemblies in a directory or directoy structure.
> aver list c:\projects\myapp -assemblyLists the versions of assemblies in the c:\projects\myapp directory.