JoelHT-Landmark / NuGet-PackageNPublish

Project template and packaging targets file to allow easier Package'n'Publish integration with TFS (or other CI) builds.
Other
13 stars 12 forks source link

Package version should be auto-generated #16

Closed JoelHT-Landmark closed 7 years ago

JoelHT-Landmark commented 10 years ago

Currently the package version is controlled by the AssemblyFileVersion attribute on the packaging project.

Change the .tt file so that if the AssemblyVersion attribute ends in ".*", the package version is auto-generated as a julian date and the AssemblyFileVersion is ignored.

This allows the scenario of a build server without a versioning step to still generate a unique package each build - and likewise on the desktop.