Package version syntax
Published 07 August 2013
Packages published to Deployment Manager's package feed or your own NuGet feed must have a version number.
Valid version formats
The formats allowed for the versions are numbers with 1, 2 or 3 decimal points.
A version can also have a text suffix after a hyphen. This can be any text string.
Format | With suffix | Examples |
---|---|---|
a.b | a.b-suffix | 4.2, 1.7-alpha |
a.b.c | a.b.c-suffix | 1.1.5, 4.1.5-testing |
a.b.c.d | a.b.c.d-suffix | 1.3.3.7, 24.6.0.1-pre-release |
Publishing from Visual Studio or SQL Server Management Studio
If you use the SQL Server Management Studio add-in or the Visual Studio extension to publish packages, the least significant number is automatically incremented each time.
Publishing with continuous integration
If you use the continuous integration build scripts, the build number can be passed to the script using a variable.
Learn more
The version syntax is identical to NuGet's.
For more information, see Versioning (NuGet documentation).