- Added GitVersion for semantic versioning and build metadata - Introduced IVersionProvider and VersionProvider for UI-friendly version display - MainForm now uses IVersionProvider for version label - Registered VersionProvider in DI container - Improved logging: filtered out AutoMapper license logs - General code cleanup in Program.cs
802 B
802 B
This project uses GitVersion (via GitVersion.MsBuild) to compute semantic version numbers during build.
How it works:
- The
GitVersion.MsBuildpackage runs duringdotnet buildand sets MSBuild properties such asVersion,AssemblyVersion,FileVersion, andInformationalVersion. - The repository is configured via
.gitversion.ymlat the repo root. Tags and branch names drive the generated semantic version.
Usage notes:
- Create annotated tags like
v1.2.3or1.2.3to mark releases. - In CI, ensure the Git clone includes tags and history (no shallow single-commit clones).
- The UI should read
AssemblyInformationalVersionfor a friendly version string; fall back toFileVersionorAssemblyName.Versionif needed.
See https://gitversion.net for more configuration options.