Firstly .NET 4.8 is not a minor upgrade from .NET 4.5. .NET 4.8 is actually .NET Core 4.8 so you have entirely changed runtimes and this generally means a lot of things are different. Versioning in .NET Core is handled via attributes in your project file (or from the build server) whereas .NET 4.5 used the AssemblyInfo.vb
file. That file is no longer needed in most cases.
The general recommendation is to move your versioning, company, product, etc to the project file as discussed here. These can be set in the Packaging
tab of the project as well.
If you want to keep using the AssemblyInfo
file then you need to manually modify your project file to not auto-generate this file anymore. The above docs tell you how to do that.