Changing assembly version automatically on build
The idea with the AssemblyInfo task is to:
- import Microsoft.VersionNumber.targets
- populate the AssemblyInfoFiles item group with the list of AssemblyInfo.* files to be updated
- set whatever properties you want to modify - AssemblyMajorVersion, AssemblyMinorVersion, etc.
You can find further info here.
No comments:
Post a Comment