This seemed to work with Git Versioning
Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>().Version