'Visual Studio 2019 C# defaulting AssemblyVersion and AssemblyFileVersion

I am part of a team of WPF developers. We update the AssemblyVersion and AssemblyFileVersion in the AssemblyInfo.cs of each assembly when needed, and check it in to GIT. Then we use MSBuild.ExtensionPack.VersionNumber.targets to update the version of the assembly when we build.

I recently upgraded to VS2019 and now the AssemblyVersion and AssemblyFileVersion is reset every time I build, to a number corresponding to today's date (eg 1.0.0310.00). It is happening to everyone who upgraded to 2019, but nobody else. Did something change in VS2019, or should we look somewhere else?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source